Skip to content

Commit 6c1a91e

Browse files
authored
Rollup merge of #73616 - pickfire:liballoc-hash, r=joshtriplett
Liballoc minor hash import tweak
2 parents d6c674b + 314e621 commit 6c1a91e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liballoc/vec.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
use core::array::LengthAtMost32;
6363
use core::cmp::{self, Ordering};
6464
use core::fmt;
65-
use core::hash::{self, Hash};
65+
use core::hash::{Hash, Hasher};
6666
use core::intrinsics::{arith_offset, assume};
6767
use core::iter::{FromIterator, FusedIterator, TrustedLen};
6868
use core::marker::PhantomData;
@@ -1943,7 +1943,7 @@ impl<T: Clone> Clone for Vec<T> {
19431943
#[stable(feature = "rust1", since = "1.0.0")]
19441944
impl<T: Hash> Hash for Vec<T> {
19451945
#[inline]
1946-
fn hash<H: hash::Hasher>(&self, state: &mut H) {
1946+
fn hash<H: Hasher>(&self, state: &mut H) {
19471947
Hash::hash(&**self, state)
19481948
}
19491949
}

0 commit comments

Comments
 (0)