mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
Fix "unwrap or else default" clippy warning
This commit is contained in:
parent
59f37d88d0
commit
96ef306cb3
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl MountInfo {
|
|||
let mut mn_info = Self {
|
||||
dev_id: volume_name,
|
||||
dev_name,
|
||||
fs_type: fs_type.unwrap_or_else(|| "".to_string()),
|
||||
fs_type: fs_type.unwrap_or_default(),
|
||||
mount_root,
|
||||
mount_dir: "".to_string(),
|
||||
mount_option: "".to_string(),
|
||||
|
|
Loading…
Reference in a new issue