impl PartialEq+Eq for BuildHasherDefault

This commit is contained in:
Marco Neumann 2018-07-15 17:37:46 +02:00
parent 7afa0ccb37
commit b1d2a91f32

View File

@ -542,6 +542,16 @@ impl<H> Default for BuildHasherDefault<H> {
}
}
#[stable(since = "1.29.0", feature = "build_hasher_eq")]
impl<H> PartialEq for BuildHasherDefault<H> {
fn eq(&self, _other: &BuildHasherDefault<H>) -> bool {
true
}
}
#[stable(since = "1.29.0", feature = "build_hasher_eq")]
impl<H> Eq for BuildHasherDefault<H> {}
//////////////////////////////////////////////////////////////////////////////
mod impls {