@@ -12,14 +12,14 @@ use self::Entry::*;
12
12
use self :: VacantEntryState :: * ;
13
13
14
14
use 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 } ;
18
18
#[ 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 } ;
23
23
24
24
use super :: table:: { self , Bucket , EmptyBucket , Fallibility , FullBucket , FullBucketMut , RawTable ,
25
25
SafeHash } ;
@@ -2559,7 +2559,7 @@ impl<'a, K, V, S> Extend<(&'a K, &'a V)> for HashMap<K, V, S>
2559
2559
/// instances are unlikely to produce the same result for the same values.
2560
2560
///
2561
2561
/// [`HashMap`]: struct.HashMap.html
2562
- /// [`Hasher`]: ../../hash/trait.Hasher.html
2562
+ /// [`Hasher`]: ../../../std/ hash/trait.Hasher.html
2563
2563
///
2564
2564
/// # Examples
2565
2565
///
@@ -2625,7 +2625,7 @@ impl BuildHasher for RandomState {
2625
2625
/// not be relied upon over releases.
2626
2626
///
2627
2627
/// [`RandomState`]: struct.RandomState.html
2628
- /// [`Hasher`]: ../../hash/trait.Hasher.html
2628
+ /// [`Hasher`]: ../../../std/ hash/trait.Hasher.html
2629
2629
#[ stable( feature = "hashmap_default_hasher" , since = "1.13.0" ) ]
2630
2630
#[ allow( deprecated) ]
2631
2631
#[ derive( Clone , Debug ) ]
@@ -2759,11 +2759,12 @@ mod test_map {
2759
2759
use super :: HashMap ;
2760
2760
use super :: Entry :: { Occupied , Vacant } ;
2761
2761
use super :: RandomState ;
2762
- use cell:: RefCell ;
2762
+ use core :: cell:: RefCell ;
2763
2763
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 ;
2767
2768
2768
2769
#[ test]
2769
2770
fn test_zero_capacities ( ) {
0 commit comments