We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 033013c commit 314e621Copy full SHA for 314e621
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;
@@ -1945,7 +1945,7 @@ impl<T: Clone> Clone for Vec<T> {
1945
#[stable(feature = "rust1", since = "1.0.0")]
1946
impl<T: Hash> Hash for Vec<T> {
1947
#[inline]
1948
- fn hash<H: hash::Hasher>(&self, state: &mut H) {
+ fn hash<H: Hasher>(&self, state: &mut H) {
1949
Hash::hash(&**self, state)
1950
}
1951
0 commit comments