bug in hash example: hash call not skipped
The output of hash.expand.rs has this:
impl Hash for DataType
where
u8: Hash,
{
fn hash<H: Hasher>(&self, state: &mut H) {
self.foo.hash(state);
self.bar.hash(state);
}
}
That's surprising, since the input has this:
#[adhoc(hash(skip))]
bar: Vec<String>,
Did we make a mistake in the definition of MyHash
? Should fmeta(hash::skip)
be fmeta(hash(skip))
?