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
+1 -1
View File
@@ -378,7 +378,7 @@ fn get_inode(metadata: &Metadata, options: &getopts::Matches) -> String {
}
#[cfg(not(unix))]
fn get_inode(_metadata: &Metadata, _options: &getopts::Matches) -> Option<String> {
fn get_inode(_metadata: &Metadata, _options: &getopts::Matches) -> String {
"".to_string()
}