Skip to content

Commit

Permalink
Fix Hash impl
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Feb 25, 2024
1 parent aa25c48 commit f142476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ impl hash::Hash for TypeId {
// - It is correct to do so -- only hashing a subset of `self` is still
// with an `Eq` implementation that considers the entire value, as
// ours does.
self.t.0.hash(state);
self.t.1.hash(state);
}
}

Expand Down

0 comments on commit f142476

Please sign in to comment.