mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
ls: return String, not Option<String>
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user