fmt
This commit is contained in:
parent
6cc1b5013a
commit
cca325033c
|
@ -31,6 +31,7 @@ impl<T: PartialEq> PartialEq for Spanned<T> {
|
||||||
self.item == other.item
|
self.item == other.item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Hash> Hash for Spanned<T> {
|
impl<T: Hash> Hash for Spanned<T> {
|
||||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||||
self.item.hash(state);
|
self.item.hash(state);
|
||||||
|
|
Loading…
Reference in a new issue