diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index b4e78d1064b..779cd425d2a 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -37,7 +37,6 @@ use super::table::{ }; // FIXME(conventions): update capacity management to match other collections (no auto-shrink) -// FIXME(conventions): axe find_copy/get_copy in favour of Option.cloned (also implement that) const INITIAL_LOG2_CAP: uint = 5; pub const INITIAL_CAPACITY: uint = 1 << INITIAL_LOG2_CAP; // 2^5 @@ -1826,6 +1825,7 @@ mod test_map { } #[test] + #[allow(deprecated)] fn test_find_copy() { let mut m = HashMap::new(); assert!(m.get(&1i).is_none()); |
