From 0793909cec37342e1b73e5ad4e9bbeb3bcc45b02 Mon Sep 17 00:00:00 2001 From: euzu Date: Mon, 12 May 2025 22:44:37 +0200 Subject: [PATCH] last modification release 3.0 --- src/utils/file/file_utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/file/file_utils.rs b/src/utils/file/file_utils.rs index 086f3528e..2fb60d280 100644 --- a/src/utils/file/file_utils.rs +++ b/src/utils/file/file_utils.rs @@ -104,7 +104,7 @@ pub fn resolve_directory_path(input: &str) -> String { if md.is_dir() && !md.permissions().readonly() { input_path.canonicalize().ok() } else { - error!("Path not found or not writable: {:?}", &input_path); + error!("Path not found or not writable: {input_path:?}"); None } }); @@ -115,7 +115,7 @@ pub fn resolve_directory_path(input: &str) -> String { .canonicalize() .map_or_else( |_| { - error!("Path not found {:?}", &final_path); + error!("Path not found {final_path:?}"); String::from("./") }, |ap| String::from(ap.to_str().unwrap_or("./")),