Skip to content

Commit

Permalink
Merge pull request #576 from JakeRoggenbuck/remove-unneeded-write
Browse files Browse the repository at this point in the history
Remove unneeded write for clippy
  • Loading branch information
JakeRoggenbuck authored Nov 27, 2024
2 parents 5c9c6c1 + d73724c commit 6dedfdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl Writer for CSVWriter {
let lines = writables.map(|c| c.to_csv()).collect::<String>();

// Open file in append mode
let mut file = match OpenOptions::new().write(true).append(true).open(&self.path) {
let mut file = match OpenOptions::new().append(true).open(&self.path) {
Ok(file) => file,
Err(..) => {
logger.log("Could not open file for writing.", logger::Severity::Error);
Expand Down

0 comments on commit 6dedfdd

Please sign in to comment.