diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-02-02 14:47:41 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-02-03 15:55:11 -0500 |
| commit | 81b4f36d49c8e9632e894f7443c9629f3c2ea294 (patch) | |
| tree | 6fafe084c7b305fdb825b56d3526e98ade1e7568 /src/libstd | |
| parent | 2e496818a5433c9229b125117d78be906f73f5e7 (diff) | |
| download | rust-81b4f36d49c8e9632e894f7443c9629f3c2ea294.tar.gz rust-81b4f36d49c8e9632e894f7443c9629f3c2ea294.zip | |
oldmap: remove legacy each method
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/oldmap.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/oldmap.rs b/src/libstd/oldmap.rs index 7fd8aabc2fb..5ab0bd68299 100644 --- a/src/libstd/oldmap.rs +++ b/src/libstd/oldmap.rs @@ -316,10 +316,6 @@ pub mod chained { } } - pure fn each(blk: fn(key: K, value: V) -> bool) { - self.each_ref(|k, v| blk(*k, *v)) - } - pure fn each_ref(blk: fn(key: &K, value: &V) -> bool) { for self.each_entry |entry| { if !blk(&entry.key, &entry.value) { break; } |
