Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Apr 3, 2024
1 parent 005fae1 commit 167b314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn write_image(
file_type: &str,
) -> Result<(), anyhow::Error> {
if !target_dir.exists() {
fs::create_dir(&target_dir).context(format!(
fs::create_dir(target_dir).context(format!(
"Can't create directory: '{}'",
target_dir.display()
))?;
Expand Down

0 comments on commit 167b314

Please sign in to comment.