]> git.proxmox.com Git - proxmox-offline-mirror.git/commitdiff
pool: drop redundant quote for paths..
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 4 Apr 2023 11:21:14 +0000 (13:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 Apr 2023 11:23:32 +0000 (13:23 +0200)
a Path(Buf)'s Debug formatting already contains double quotes, no need to quote
it a second time..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/pool.rs

index 7a6708778288caeccae6e8a55b5c73bc2ca18909..3da8c089533f03f34a9cd20cee73d793650bda23 100644 (file)
@@ -483,12 +483,12 @@ impl PoolLockGuard<'_> {
 
                 match actual_link_count.cmp(&expected_link_count) {
                     std::cmp::Ordering::Less => {
-                        println!("Something fishy going on with '{path:?}'");
+                        println!("Something fishy going on with {path:?}");
                         false
                     }
                     std::cmp::Ordering::Equal => {
                         // only checksum files remaining
-                        println!("Removing '{:?}'", &path);
+                        println!("Removing {path:?}");
                         true
                     }
                     std::cmp::Ordering::Greater => {