Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Jul 23, 2024
1 parent ed345d4 commit f6be1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl LocalAttachmentPath {
self.ensure_parent_dir_exists()?;

if !self.path().is_file() {
let f = File::create(&self.path()).expect("Could not create attachment output file");
let f = File::create(self.path()).expect("Could not create attachment output file");

let mut buf_writer = BufWriter::new(f);
buf_writer.write_all(&buf_to_write)?;
Expand Down

0 comments on commit f6be1ea

Please sign in to comment.