Skip to content

Commit

Permalink
Don't need OpenOptions::write with append
Browse files Browse the repository at this point in the history
#clippy
  • Loading branch information
sourcefrog committed Dec 23, 2023
1 parent 8cfcf13 commit dd830bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/log_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ impl LogFile {
};
let path = log_dir.join(t);
match OpenOptions::new()
.write(true)
.read(true)
.append(true)
.create_new(true)
Expand Down

0 comments on commit dd830bd

Please sign in to comment.