This commit is contained in:
Erin 2022-07-24 22:24:53 +02:00 committed by ondra05
parent 6cc1b5013a
commit cca325033c

View file

@ -31,6 +31,7 @@ impl<T: PartialEq> PartialEq for Spanned<T> {
self.item == other.item
}
}
impl<T: Hash> Hash for Spanned<T> {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
self.item.hash(state);