diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2014-11-07 14:35:18 -0500 |
|---|---|---|
| committer | Alexis Beingessner <a.beingessner@gmail.com> | 2014-11-16 10:40:25 -0500 |
| commit | dfb7a811ae0cb8c98ceed93ecc3573555cca03db (patch) | |
| tree | 08c6e3fe2ad4bfcfcb4c9454185e90d65f9703c8 /src/libstd | |
| parent | 64efd2650c22ab508caf191b6f9055463a7a74c4 (diff) | |
| download | rust-dfb7a811ae0cb8c98ceed93ecc3573555cca03db.tar.gz rust-dfb7a811ae0cb8c98ceed93ecc3573555cca03db.zip | |
fallout from deprecating find_copy and get_copy
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()); |
