From fb11da7c7e970d2dac1cc5cdd48dd5876e4fe74f Mon Sep 17 00:00:00 2001 From: Richard Zak Date: Thu, 5 Oct 2023 20:13:11 -0400 Subject: [PATCH] fix: minor fix to satisfy clippy from Rust 1.73 Signed-off-by: Richard Zak --- src/hasher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hasher.rs b/src/hasher.rs index 67c09d7..d711d4a 100644 --- a/src/hasher.rs +++ b/src/hasher.rs @@ -24,7 +24,7 @@ impl Hasher for Murmur3Hasher { } fn write(&mut self, bytes: &[u8]) { - let mut copy = bytes.clone().to_vec(); + let mut copy = bytes.to_vec(); self.bytes.append(&mut copy); } }