1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

ls: return String, not Option<String>

This commit is contained in:
Sunrin SHIMURA (keen) 2016-12-26 12:27:06 +09:00
parent 8a51ddf6fb
commit 59e4bc431a

View file

@ -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()
} }