From d6923ae6b6cbd1741b99f1a8e67623c6b0de3c7d Mon Sep 17 00:00:00 2001 From: axtlos Date: Mon, 9 May 2022 22:59:42 +0200 Subject: [PATCH] make cargo clippy shut up --- src/functions/unakite.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/functions/unakite.rs b/src/functions/unakite.rs index 724db1e..31189f7 100644 --- a/src/functions/unakite.rs +++ b/src/functions/unakite.rs @@ -61,7 +61,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str "umount", vec![String::from("/")], ), - &format!("Unmount old root"), + "Unmount old root", ); mount(root, "/", ""); mount(bootdev, efidir, ""); @@ -78,7 +78,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str "umount", vec![String::from("/")], ), - &format!("Unmount unakite root"), + "Unmount unakite root", ); mount(root, "/", ""); mount(bootdev, efidir, ""); @@ -95,7 +95,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str "umount", vec![String::from("/")], ), - &format!("Unmount old root"), + "Unmount old root", ); mount(root, "/", ""); mount(bootdev, "/boot", ""); @@ -112,7 +112,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str "umount", vec![String::from("/")], ), - &format!("Unmount unakite root"), + "Unmount unakite root", ); mount(oldroot, "/", ""); mount(bootdev, "/boot", "");