about summary refs log tree commit diff
path: root/src/libstd/container.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-06-24 17:45:00 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-06-25 16:26:23 -0400
commit64ee9668a2e3d4d75b859fd3bca1466a97fae2d8 (patch)
treed07261f531cff9b87d3418919267d0fa4a8b5ea0 /src/libstd/container.rs
parent5242e8d2bad01beec7c841d20952cb230bc9fd84 (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.rs12
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>;