diff options
author | Lars Bergstrom <lars@lars.com> | 2014-03-14 17:06:40 -0500 |
---|---|---|
committer | Lars Bergstrom <lars@lars.com> | 2014-03-18 22:00:48 -0500 |
commit | a6100563a6e43471ae43fb155113bc2026992f78 (patch) | |
tree | 7e7fbd7976c3da12ff463d6ffbeb1a3a336ae7d3 /src/components/util/concurrentmap.rs | |
parent | fe22598c56092880b3e947b4fc9466d1a700e17e (diff) | |
download | servo-a6100563a6e43471ae43fb155113bc2026992f78.tar.gz servo-a6100563a6e43471ae43fb155113bc2026992f78.zip |
Rust upgrade for new master rebase
Diffstat (limited to 'src/components/util/concurrentmap.rs')
-rw-r--r-- | src/components/util/concurrentmap.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/util/concurrentmap.rs b/src/components/util/concurrentmap.rs index 72846fa69cf..a4ca68706b1 100644 --- a/src/components/util/concurrentmap.rs +++ b/src/components/util/concurrentmap.rs @@ -482,7 +482,7 @@ impl<'a,K,V> Iterator<(&'a K, &'a V)> for ConcurrentHashMapIterator<'a,K,V> { #[cfg(test)] pub mod test { - use extra::arc::Arc; + use sync::Arc; use native; use concurrentmap::ConcurrentHashMap; @@ -490,7 +490,7 @@ pub mod test { #[test] pub fn smoke() { let m = Arc::new(ConcurrentHashMap::new()); - let (port, chan) = SharedChan::new(); + let (port, chan) = Chan::new(); // Big enough to make it resize once. for i in range(0, 5) { |