Skip to content

Commit

Permalink
write_all
Browse files Browse the repository at this point in the history
  • Loading branch information
trobro committed Jul 29, 2024
1 parent 3d94db4 commit 03d8614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hjson/src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ impl<'a> Formatter for HjsonFormatter<'a> {
{
self.current_indent -= 1;
self.current_is_array = self.stack.pop().unwrap();
writer.write(b"\n")?;
writer.write_all(b"\n")?;
indent(writer, self.current_indent, self.indent)?;
writer.write_all(&[ch]).map_err(From::from)
}
Expand Down

0 comments on commit 03d8614

Please # to comment.