Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 committed Dec 4, 2024
1 parent 89a8463 commit 9a0eb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl Io {
let mut out = self.new_writer(p)?;
for line in lines {
out.write_all(line.as_ref().as_bytes()).map_err(FgError::IoError)?;
out.write_all(&[b'\n']).map_err(FgError::IoError)?;
out.write_all(b"\n").map_err(FgError::IoError)?;
}

out.flush().map_err(FgError::IoError)
Expand Down

0 comments on commit 9a0eb60

Please sign in to comment.