diff options
| author | David Thomas <david2005thomas@gmail.com> | 2024-02-25 14:09:30 +0000 |
|---|---|---|
| committer | David Thomas <david2005thomas@gmail.com> | 2024-02-25 14:09:30 +0000 |
| commit | f142476cf3f0c0c2296c82836fd4c7c86e20d0db (patch) | |
| tree | bba167d71ce0dde27be1b1a149b14c711780d288 | |
| parent | aa25c481b77cb9e0ec25c6350d7ded110fae7f0e (diff) | |
| download | rust-f142476cf3f0c0c2296c82836fd4c7c86e20d0db.tar.gz rust-f142476cf3f0c0c2296c82836fd4c7c86e20d0db.zip | |
Fix Hash impl
| -rw-r--r-- | library/core/src/any.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/any.rs b/library/core/src/any.rs index adc45038148..a4252d0c9e0 100644 --- a/library/core/src/any.rs +++ b/library/core/src/any.rs @@ -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); } } |
