1
Fork 0

Removed unnecessary Trait bound

This commit is contained in:
onestacked 2022-11-07 15:34:43 +01:00
parent dc1f1a8e97
commit cebce1e616

View file

@ -244,10 +244,7 @@ impl const super::Hasher for SipHasher {
#[unstable(feature = "hashmap_internals", issue = "none")] #[unstable(feature = "hashmap_internals", issue = "none")]
#[rustc_const_unstable(feature = "const_hash", issue = "104061")] #[rustc_const_unstable(feature = "const_hash", issue = "104061")]
impl const super::Hasher for SipHasher13 impl const super::Hasher for SipHasher13 {
where
Hasher<Sip13Rounds>: ~const super::Hasher,
{
#[inline] #[inline]
fn write(&mut self, msg: &[u8]) { fn write(&mut self, msg: &[u8]) {
self.hasher.write(msg) self.hasher.write(msg)