File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ impl ActivationsKey {
182
182
183
183
impl std:: hash:: Hash for ActivationsKey {
184
184
fn hash < H : std:: hash:: Hasher > ( & self , state : & mut H ) {
185
- self . 0 . fast_hash ( state) ;
185
+ self . 0 . hash ( state) ;
186
186
self . 1 . hash ( state) ;
187
187
// self.2.hash(state); // Packages that only differ by SourceId are rare enough to not be worth hashing
188
188
}
Original file line number Diff line number Diff line change @@ -90,12 +90,6 @@ impl InternedString {
90
90
pub fn as_str ( & self ) -> & ' static str {
91
91
self . inner
92
92
}
93
-
94
- /// A faster implementation of hash that is completely compatible with HashMap,
95
- /// but does not have a stable value between runs of the program.
96
- pub fn fast_hash < H : std:: hash:: Hasher > ( & self , state : & mut H ) {
97
- std:: ptr:: NonNull :: from ( self . inner ) . hash ( state) ;
98
- }
99
93
}
100
94
101
95
impl Deref for InternedString {
You can’t perform that action at this time.
0 commit comments