diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-12-27 18:24:18 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-12-27 18:24:18 -0800 |
| commit | fa5ee934edecff9c3fa82ade705bd964dc734525 (patch) | |
| tree | daa3fd7dbafa64db3921c7f314da9d76e9f77cff /src/libstd/smallintmap.rs | |
| parent | e26ca35b081e96d709f318e668e06209e89b95e2 (diff) | |
| download | rust-fa5ee934edecff9c3fa82ade705bd964dc734525.tar.gz rust-fa5ee934edecff9c3fa82ade705bd964dc734525.zip | |
libstd: Fix a bunch of resolve errors in tests. rs=fire
Diffstat (limited to 'src/libstd/smallintmap.rs')
| -rw-r--r-- | src/libstd/smallintmap.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/smallintmap.rs b/src/libstd/smallintmap.rs index e412d237e65..a6c14516af2 100644 --- a/src/libstd/smallintmap.rs +++ b/src/libstd/smallintmap.rs @@ -19,8 +19,8 @@ use map::Map; use core::dvec::DVec; use core::ops; -use core::option; use core::option::{Some, None}; +use core::option; // FIXME (#2347): Should not be @; there's a bug somewhere in rustc that // requires this to be. @@ -168,6 +168,8 @@ pub fn as_map<V: Copy>(s: SmallIntMap<V>) -> map::Map<uint, V> { #[cfg(test)] mod tests { + use core::option::None; + use core::option; #[test] fn test_insert_with_key() { |
