1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::MiniVec;
impl<T> core::hash::Hash for MiniVec<T>
where
T: core::hash::Hash,
{
fn hash<H>(&self, state: &mut H)
where
H: core::hash::Hasher,
{
let this: &[T] = &**self;
core::hash::Hash::hash(this, state);
}
}