From 2276521d0ba55c3c60a97195051638c91be70efe Mon Sep 17 00:00:00 2001 From: Jannis Date: Sat, 16 Nov 2024 00:19:13 +0100 Subject: [PATCH] Fix clippy errors --- src/data/disks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/disks.rs b/src/data/disks.rs index ad944c5a..30baad24 100644 --- a/src/data/disks.rs +++ b/src/data/disks.rs @@ -18,7 +18,7 @@ impl Disk { canonicalize_paths: bool, ) -> Self { Self { - mount_point: Self::canonicalize(&mount_point, canonicalize_paths), + mount_point: Self::canonicalize(mount_point, canonicalize_paths), display_name: gen_display_name( name.unwrap_or_default(), mount_point.to_str().unwrap_or_default(),