From f6be1ea097696205985be77d64fa992a2dd5c24a Mon Sep 17 00:00:00 2001 From: Joe Prosser Date: Tue, 23 Jul 2024 11:22:35 +0100 Subject: [PATCH] fix clippy --- cli/src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index 51187fd..1e5cacc 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -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)?;