From c1073b08d4a11050752024e5871860f73cf8168f Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 16 Mar 2024 13:44:07 +0100 Subject: [PATCH] run clippy --fix --- tests/common/util.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/common/util.rs b/tests/common/util.rs index b5bd4f5..78c43a3 100644 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -862,7 +862,6 @@ impl AtPath { pub fn append(&self, name: &str, contents: &str) { log_info("write(append)", self.plus_as_string(name)); let mut f = OpenOptions::new() - .write(true) .append(true) .create(true) .open(self.plus(name)) @@ -874,7 +873,6 @@ impl AtPath { pub fn append_bytes(&self, name: &str, contents: &[u8]) { log_info("write(append)", self.plus_as_string(name)); let mut f = OpenOptions::new() - .write(true) .append(true) .create(true) .open(self.plus(name))