diff options
Diffstat (limited to 'components/util/cache.rs')
-rw-r--r-- | components/util/cache.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/util/cache.rs b/components/util/cache.rs index 86dc1c3af91..fa1e32c9ba6 100644 --- a/components/util/cache.rs +++ b/components/util/cache.rs @@ -2,14 +2,14 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use rand; +use rand::Rng; use std::collections::HashMap; use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::collections::hash_state::DefaultState; -use rand::Rng; +use std::default::Default; use std::hash::{Hash, Hasher, SipHasher}; -use rand; use std::slice::Iter; -use std::default::Default; pub struct HashCache<K, V> { |