make cargo clippy shut up

axtloss/rework-partitioning
axtlos 3 years ago
parent 52046109de
commit d6923ae6b6

@ -61,7 +61,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str
"umount", "umount",
vec![String::from("/")], vec![String::from("/")],
), ),
&format!("Unmount old root"), "Unmount old root",
); );
mount(root, "/", ""); mount(root, "/", "");
mount(bootdev, efidir, ""); mount(bootdev, efidir, "");
@ -78,7 +78,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str
"umount", "umount",
vec![String::from("/")], vec![String::from("/")],
), ),
&format!("Unmount unakite root"), "Unmount unakite root",
); );
mount(root, "/", ""); mount(root, "/", "");
mount(bootdev, efidir, ""); mount(bootdev, efidir, "");
@ -95,7 +95,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str
"umount", "umount",
vec![String::from("/")], vec![String::from("/")],
), ),
&format!("Unmount old root"), "Unmount old root",
); );
mount(root, "/", ""); mount(root, "/", "");
mount(bootdev, "/boot", ""); mount(bootdev, "/boot", "");
@ -112,7 +112,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str
"umount", "umount",
vec![String::from("/")], vec![String::from("/")],
), ),
&format!("Unmount unakite root"), "Unmount unakite root",
); );
mount(oldroot, "/", ""); mount(oldroot, "/", "");
mount(bootdev, "/boot", ""); mount(bootdev, "/boot", "");

Loading…
Cancel
Save