From b6e08d413e6ad2d172eac19dd7dbd7c877973f9d Mon Sep 17 00:00:00 2001 From: "Heinz N. Gies" Date: Sun, 17 Nov 2024 10:12:09 -0500 Subject: [PATCH] objey clippy Signed-off-by: Heinz N. Gies --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 880b5ad3..592572ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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) };