Skip to content

Commit

Permalink
objey clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
  • Loading branch information
Licenser committed Nov 17, 2024
1 parent 5ee4d3e commit b6e08d4
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 @@ -948,7 +948,7 @@ impl<'de> Deserializer<'de> {
unsafe {
tmpbuf
.as_mut_ptr()
.copy_from(input.as_ptr().add(idx), len - idx)
.copy_from(input.as_ptr().add(idx), len - idx);
};
unsafe { utf8_validator.update_from_chunks(&tmpbuf) };

Expand Down

0 comments on commit b6e08d4

Please sign in to comment.