Skip to content

Commit

Permalink
Merge branch 'fix-format' into 'main'
Browse files Browse the repository at this point in the history
[FIX] Format code

See merge request repositories/wash!15
  • Loading branch information
GPlaczek committed Mar 4, 2024
2 parents c0864b5 + 11ecd2f commit a4563d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/output_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ impl<'a> OutputDevice<'a> {
.truncate(true)
.create(true)
.open(path)?,
Some(Redirect::Append(_, path)) => OpenOptions::new()
.append(true)
.create(true)
.open(path)?,
Some(Redirect::Append(_, path)) => {
OpenOptions::new().append(true).create(true).open(path)?
}
Some(Redirect::ReadWrite(_, path)) => {
OpenOptions::new().write(true).create(true).open(path)?
}
Expand Down

0 comments on commit a4563d2

Please sign in to comment.