cargo clippy

This commit is contained in:
Paul Campbell 2024-02-04 13:41:48 +00:00
parent fe8db0f440
commit 1fe6865280

View file

@ -68,7 +68,7 @@ fn rename_files(directory: &str, base: &str) -> Result<i32> {
let dir = target_path.parent().with_context(|| { let dir = target_path.parent().with_context(|| {
format!("Failed to get parent: {:#?}", target_path) 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) format!("Failed to create directory: {:#?}", dir)
})?; })?;
} }