diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-06-24 17:45:00 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-06-25 16:26:23 -0400 |
| commit | 64ee9668a2e3d4d75b859fd3bca1466a97fae2d8 (patch) | |
| tree | d07261f531cff9b87d3418919267d0fa4a8b5ea0 /src/libstd/container.rs | |
| parent | 5242e8d2bad01beec7c841d20952cb230bc9fd84 (diff) | |
container: remove internal iterators from Map
the maps are being migrated to external iterators
Diffstat (limited to 'src/libstd/container.rs')
| -rw-r--r-- | src/libstd/container.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libstd/container.rs b/src/libstd/container.rs index c1b656f1cd9..d6f4c26715a 100644 --- a/src/libstd/container.rs +++ b/src/libstd/container.rs @@ -34,18 +34,6 @@ pub trait Map<K, V>: Mutable { /// Return true if the map contains a value for the specified key fn contains_key(&self, key: &K) -> bool; - /// Visits all keys and values - fn each<'a>(&'a self, f: &fn(&K, &'a V) -> bool) -> bool; - - /// Visit all keys - fn each_key(&self, f: &fn(&K) -> bool) -> bool; - - /// Visit all values - fn each_value<'a>(&'a self, f: &fn(&'a V) -> bool) -> bool; - - /// Iterate over the map and mutate the contained values - fn mutate_values(&mut self, f: &fn(&K, &mut V) -> bool) -> bool; - /// Return a reference to the value corresponding to the key fn find<'a>(&'a self, key: &K) -> Option<&'a V>; |
