Skip to content

Commit f142476

Browse files
committed
Fix Hash impl
1 parent aa25c48 commit f142476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ impl hash::Hash for TypeId {
662662
// - It is correct to do so -- only hashing a subset of `self` is still
663663
// with an `Eq` implementation that considers the entire value, as
664664
// ours does.
665-
self.t.0.hash(state);
665+
self.t.1.hash(state);
666666
}
667667
}
668668

0 commit comments

Comments
 (0)