From c3ba483b8198f740ad263a12aefd1e84d4180bfe Mon Sep 17 00:00:00 2001 From: tiann Date: Tue, 21 Feb 2023 22:09:41 +0800 Subject: [PATCH] ksud: fix clippy --- userspace/ksud/src/mount.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/ksud/src/mount.rs b/userspace/ksud/src/mount.rs index ca4c13e00e14..1b78edc3bc76 100644 --- a/userspace/ksud/src/mount.rs +++ b/userspace/ksud/src/mount.rs @@ -277,7 +277,7 @@ impl StockMount { fn get_target_mounts(&self) -> Vec<&proc_mounts::MountInfo> { let mounts = self .mountlist - .destination_starts_with(&std::path::Path::new(&self.mnt)) + .destination_starts_with(std::path::Path::new(&self.mnt)) .filter(|m| m.fstype != "overlay"); mounts.collect() }