mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
df: fix warnings from default_trait_access lint
This commit is contained in:
parent
64140b8ec9
commit
26e0585775
1 changed files with 4 additions and 4 deletions
|
@ -317,12 +317,12 @@ mod tests {
|
|||
|
||||
fn mount_info_with_dev_name(mount_dir: &str, dev_name: Option<&str>) -> MountInfo {
|
||||
MountInfo {
|
||||
dev_id: Default::default(),
|
||||
dev_id: String::default(),
|
||||
dev_name: dev_name.map(String::from).unwrap_or_default(),
|
||||
fs_type: Default::default(),
|
||||
fs_type: String::default(),
|
||||
mount_dir: String::from(mount_dir),
|
||||
mount_option: Default::default(),
|
||||
mount_root: Default::default(),
|
||||
mount_option: String::default(),
|
||||
mount_root: String::default(),
|
||||
remote: Default::default(),
|
||||
dummy: Default::default(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue