mirror of
https://github.com/servo/servo.git
synced 2025-07-01 20:43:39 +01:00
Clean imports in hashglobe
This commit is contained in:
parent
34e0805b12
commit
02fe616b86
4 changed files with 18 additions and 21 deletions
|
@ -11,14 +11,14 @@
|
||||||
use self::Entry::*;
|
use self::Entry::*;
|
||||||
use self::VacantEntryState::*;
|
use self::VacantEntryState::*;
|
||||||
|
|
||||||
use borrow::Borrow;
|
use std::borrow::Borrow;
|
||||||
use cmp::max;
|
use std::cmp::max;
|
||||||
use fmt::{self, Debug};
|
use std::fmt::{self, Debug};
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
use hash::{Hash, BuildHasher};
|
use std::hash::{Hash, BuildHasher};
|
||||||
use iter::FromIterator;
|
use std::iter::FromIterator;
|
||||||
use mem::{self, replace};
|
use std::mem::{self, replace};
|
||||||
use ops::{Deref, Index};
|
use std::ops::{Deref, Index};
|
||||||
|
|
||||||
use super::table::{self, Bucket, EmptyBucket, FullBucket, FullBucketMut, RawTable, SafeHash};
|
use super::table::{self, Bucket, EmptyBucket, FullBucket, FullBucketMut, RawTable, SafeHash};
|
||||||
use super::table::BucketState::{Empty, Full};
|
use super::table::BucketState::{Empty, Full};
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
use borrow::Borrow;
|
use std::borrow::Borrow;
|
||||||
use fmt;
|
use std::fmt;
|
||||||
use hash::{Hash, BuildHasher};
|
use std::hash::{Hash, BuildHasher};
|
||||||
use iter::{Chain, FromIterator};
|
use std::iter::{Chain, FromIterator};
|
||||||
use ops::{BitOr, BitAnd, BitXor, Sub};
|
use std::ops::{BitOr, BitAnd, BitXor, Sub};
|
||||||
|
|
||||||
use super::Recover;
|
use super::Recover;
|
||||||
use super::hash_map::{self, HashMap, Keys, RandomState};
|
use super::hash_map::{self, HashMap, Keys, RandomState};
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
pub use std::*;
|
|
||||||
|
|
||||||
extern crate heapsize;
|
extern crate heapsize;
|
||||||
|
|
||||||
mod alloc;
|
mod alloc;
|
||||||
|
|
|
@ -9,13 +9,12 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
use alloc::{alloc, dealloc};
|
use alloc::{alloc, dealloc};
|
||||||
use cmp;
|
use std::cmp;
|
||||||
use hash::{BuildHasher, Hash, Hasher};
|
use std::hash::{BuildHasher, Hash, Hasher};
|
||||||
use marker;
|
use std::marker;
|
||||||
use mem::{align_of, size_of};
|
use std::mem::{self, align_of, size_of};
|
||||||
use mem;
|
use std::ops::{Deref, DerefMut};
|
||||||
use ops::{Deref, DerefMut};
|
use std::ptr;
|
||||||
use ptr;
|
|
||||||
use shim::{Unique, Shared};
|
use shim::{Unique, Shared};
|
||||||
|
|
||||||
use self::BucketState::*;
|
use self::BucketState::*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue