From cebce1e616c6d1cd61154eef4928c991e9f7189f Mon Sep 17 00:00:00 2001 From: onestacked Date: Mon, 7 Nov 2022 15:34:43 +0100 Subject: [PATCH] Removed unnecessary Trait bound --- library/core/src/hash/sip.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/library/core/src/hash/sip.rs b/library/core/src/hash/sip.rs index 51581d21089..0dea1c43f20 100644 --- a/library/core/src/hash/sip.rs +++ b/library/core/src/hash/sip.rs @@ -244,10 +244,7 @@ impl const super::Hasher for SipHasher { #[unstable(feature = "hashmap_internals", issue = "none")] #[rustc_const_unstable(feature = "const_hash", issue = "104061")] -impl const super::Hasher for SipHasher13 -where - Hasher: ~const super::Hasher, -{ +impl const super::Hasher for SipHasher13 { #[inline] fn write(&mut self, msg: &[u8]) { self.hasher.write(msg)