We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6c674b + 314e621 commit 6c1a91eCopy full SHA for 6c1a91e
src/liballoc/vec.rs
@@ -62,7 +62,7 @@
62
use core::array::LengthAtMost32;
63
use core::cmp::{self, Ordering};
64
use core::fmt;
65
-use core::hash::{self, Hash};
+use core::hash::{Hash, Hasher};
66
use core::intrinsics::{arith_offset, assume};
67
use core::iter::{FromIterator, FusedIterator, TrustedLen};
68
use core::marker::PhantomData;
@@ -1943,7 +1943,7 @@ impl<T: Clone> Clone for Vec<T> {
1943
#[stable(feature = "rust1", since = "1.0.0")]
1944
impl<T: Hash> Hash for Vec<T> {
1945
#[inline]
1946
- fn hash<H: hash::Hasher>(&self, state: &mut H) {
+ fn hash<H: Hasher>(&self, state: &mut H) {
1947
Hash::hash(&**self, state)
1948
}
1949
0 commit comments