From 1fe68652809ab1d0c7f120ef3d85a433d3e65afb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 4 Feb 2024 13:41:48 +0000 Subject: [PATCH] cargo clippy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cf1c524..f45b3bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,7 +68,7 @@ fn rename_files(directory: &str, base: &str) -> Result { let dir = target_path.parent().with_context(|| { format!("Failed to get parent: {:#?}", target_path) })?; - create_dir_all(&dir).with_context(|| { + create_dir_all(dir).with_context(|| { format!("Failed to create directory: {:#?}", dir) })?; }