Skip to content

Commit

Permalink
- Clippy: Removed superfluous .write(true), as .append(true) is present.
Browse files Browse the repository at this point in the history
  • Loading branch information
traktion authored and joshuef committed Apr 22, 2024
1 parent 9d85393 commit 41bbc5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ impl StreamSelfDecryptor {
// If the file already exists, the content will be appended to the end of the file.
fn append_to_file(&self, content: &Bytes) -> std::io::Result<()> {
let mut file = OpenOptions::new()
.write(true)
.append(true)
.create(true)
.open(&*self.file_path)?;
Expand Down

0 comments on commit 41bbc5b

Please sign in to comment.