Skip to content

Commit

Permalink
Update Rust toolchain to 1.81.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Oct 6, 2024
1 parent 337d6c8 commit e574a9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.80.0"
channel = "1.81.0"
profile = "minimal"
components = ["clippy", "rustfmt", "rust-docs"]
6 changes: 3 additions & 3 deletions src/reader/stream_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1678,17 +1678,17 @@ impl<R: Read> JsonStreamReader<R> {
b'n' => {
// Skip the 'n' and instead push the represented char
bytes_reader.skip_previous_byte();
bytes_reader.push_bytes(&[b'\n']);
bytes_reader.push_bytes(b"\n");
}
b'r' => {
// Skip the 'r' and instead push the represented char
bytes_reader.skip_previous_byte();
bytes_reader.push_bytes(&[b'\r']);
bytes_reader.push_bytes(b"\r");
}
b't' => {
// Skip the 't' and instead push the represented char
bytes_reader.skip_previous_byte();
bytes_reader.push_bytes(&[b'\t']);
bytes_reader.push_bytes(b"\t");
}
b'u' => {
// Skip the 'u'
Expand Down

0 comments on commit e574a9d

Please sign in to comment.