Skip to content

Commit 2cee540

Browse files
committed
---
yaml --- r: 65910 b: refs/heads/master c: 8111701 h: refs/heads/master v: v3
1 parent f27b9b1 commit 2cee540

File tree

5 files changed

+1
-14
lines changed

5 files changed

+1
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 585f5f7f794c5f181ff351cb82a4c692cf61caa3
2+
refs/heads/master: 8111701604976d3b0e9e70db621784aefda456b0
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libstd/old_iter.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ pub trait ExtendedIter<A> {
4747
fn flat_map_to_vec<B,IB: BaseIter<B>>(&self, op: &fn(&A) -> IB) -> ~[B];
4848
}
4949

50-
pub trait ExtendedMutableIter<A> {
51-
fn eachi_mut(&mut self, blk: &fn(uint, &mut A) -> bool) -> bool;
52-
}
53-
5450
pub trait EqIter<A:Eq> {
5551
fn contains(&self, x: &A) -> bool;
5652
fn count(&self, x: &A) -> uint;

trunk/src/libstd/prelude.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ pub use container::{Container, Mutable, Map, Set};
4848
pub use hash::Hash;
4949
pub use old_iter::{BaseIter, ReverseIter, MutableIter, ExtendedIter, EqIter};
5050
pub use old_iter::{CopyableIter, CopyableOrderedIter, CopyableNonstrictIter};
51-
pub use old_iter::{ExtendedMutableIter};
5251
pub use iter::{Times, FromIter};
5352
pub use iterator::{Iterator, IteratorUtil};
5453
pub use num::{Num, NumCast};

trunk/src/libstd/vec.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,13 +2535,6 @@ impl<'self,A> old_iter::ExtendedIter<A> for &'self [A] {
25352535
}
25362536
}
25372537

2538-
impl<'self,A> old_iter::ExtendedMutableIter<A> for &'self mut [A] {
2539-
#[inline(always)]
2540-
pub fn eachi_mut(&mut self, blk: &fn(uint, v: &mut A) -> bool) -> bool {
2541-
self.mut_iter().enumerate().advance(|(i, v)| blk(i, v))
2542-
}
2543-
}
2544-
25452538
// FIXME(#4148): This should be redundant
25462539
impl<A> old_iter::ExtendedIter<A> for ~[A] {
25472540
pub fn eachi(&self, blk: &fn(uint, v: &A) -> bool) -> bool {

trunk/src/test/bench/shootout-spectralnorm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use std::f64;
22
use std::from_str::FromStr;
3-
use std::iter::ExtendedMutableIter;
43
use std::os;
54
use std::vec;
65

0 commit comments

Comments
 (0)