mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
ls: return String, not Option<String>
This commit is contained in:
parent
8a51ddf6fb
commit
59e4bc431a
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ fn get_inode(metadata: &Metadata, options: &getopts::Matches) -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
fn get_inode(_metadata: &Metadata, _options: &getopts::Matches) -> Option<String> {
|
fn get_inode(_metadata: &Metadata, _options: &getopts::Matches) -> String {
|
||||||
"".to_string()
|
"".to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue