From e6890a3c74dba8c339b9cdc5d8457415593d66f6 Mon Sep 17 00:00:00 2001 From: Matthew LeVan Date: Wed, 7 Feb 2024 10:46:13 -0500 Subject: [PATCH] cargo: clippy --- rust/ares/benches/cue_pill.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/ares/benches/cue_pill.rs b/rust/ares/benches/cue_pill.rs index f7e9834..70a13dc 100644 --- a/rust/ares/benches/cue_pill.rs +++ b/rust/ares/benches/cue_pill.rs @@ -57,7 +57,7 @@ fn main() -> io::Result<()> { let f_out = OpenOptions::new() .read(true) .write(true) - .create(true) + .truncate(true) .open(output_filename)?; f_out.set_len((jammed_output.size() << 3) as u64)?; unsafe {