Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored and Licenser committed Jul 27, 2023
1 parent 2c43ab7 commit f80656b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ impl<'de> Deserializer<'de> {
// ensure we have a 0 to terminate the buffer
std::ptr::write(input_buffer.as_mut_ptr().add(len), 0);

// initialize all remaingin bytes
// initialize all remaining bytes
if len < input_buffer.capacity() {
for i in len..input_buffer.capacity() {
std::ptr::write(input_buffer.as_mut_ptr().add(i), 0);
Expand Down

0 comments on commit f80656b

Please sign in to comment.