Skip to content

Commit

Permalink
[FIX] Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
GPlaczek committed Mar 4, 2024
1 parent c0864b5 commit 11ecd2f
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 11ecd2f

Please sign in to comment.