@@ -12,14 +12,14 @@ use self::Entry::*;
1212use self :: VacantEntryState :: * ;
1313
1414use collections:: CollectionAllocErr ;
15- use borrow:: Borrow ;
16- use cmp:: max;
17- use fmt:: { self , Debug } ;
15+ use core :: borrow:: Borrow ;
16+ use core :: cmp:: max;
17+ use core :: fmt:: { self , Debug } ;
1818#[ allow( deprecated) ]
19- use hash:: { Hash , Hasher , BuildHasher , SipHasher13 } ;
20- use iter:: { FromIterator , FusedIterator } ;
21- use mem:: { self , replace} ;
22- use ops:: { Deref , Index } ;
19+ use core :: hash:: { Hash , Hasher , BuildHasher , SipHasher13 } ;
20+ use core :: iter:: { FromIterator , FusedIterator } ;
21+ use core :: mem:: { self , replace} ;
22+ use core :: ops:: { Deref , Index } ;
2323
2424use super :: table:: { self , Bucket , EmptyBucket , Fallibility , FullBucket , FullBucketMut , RawTable ,
2525 SafeHash } ;
@@ -2559,7 +2559,7 @@ impl<'a, K, V, S> Extend<(&'a K, &'a V)> for HashMap<K, V, S>
25592559/// instances are unlikely to produce the same result for the same values.
25602560///
25612561/// [`HashMap`]: struct.HashMap.html
2562- /// [`Hasher`]: ../../hash/trait.Hasher.html
2562+ /// [`Hasher`]: ../../../std/ hash/trait.Hasher.html
25632563///
25642564/// # Examples
25652565///
@@ -2625,7 +2625,7 @@ impl BuildHasher for RandomState {
26252625/// not be relied upon over releases.
26262626///
26272627/// [`RandomState`]: struct.RandomState.html
2628- /// [`Hasher`]: ../../hash/trait.Hasher.html
2628+ /// [`Hasher`]: ../../../std/ hash/trait.Hasher.html
26292629#[ stable( feature = "hashmap_default_hasher" , since = "1.13.0" ) ]
26302630#[ allow( deprecated) ]
26312631#[ derive( Clone , Debug ) ]
@@ -2759,11 +2759,12 @@ mod test_map {
27592759 use super :: HashMap ;
27602760 use super :: Entry :: { Occupied , Vacant } ;
27612761 use super :: RandomState ;
2762- use cell:: RefCell ;
2762+ use core :: cell:: RefCell ;
27632763 use rand:: { thread_rng, Rng } ;
2764- use realstd:: collections:: CollectionAllocErr :: * ;
2765- use realstd:: mem:: size_of;
2766- use realstd:: usize;
2764+ use collections:: CollectionAllocErr :: * ;
2765+ use std:: mem:: size_of;
2766+ use std:: usize;
2767+ use vec:: Vec ;
27672768
27682769 #[ test]
27692770 fn test_zero_capacities ( ) {
0 commit comments