Skip to content

Commit d752f81

Browse files
committed
Remove position
1 parent c779782 commit d752f81

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/libcore/iter/mod.rs

-7
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,6 @@ impl<I> Iterator for Rev<I> where I: DoubleEndedIterator {
447447
self.iter.rfind(predicate)
448448
}
449449

450-
#[inline]
451-
fn position<P>(&mut self, predicate: P) -> Option<usize> where
452-
P: FnMut(<I as Iterator>::Item) -> bool
453-
{
454-
self.iter.rposition(predicate)
455-
}
456-
457450
#[inline]
458451
fn rposition<P>(&mut self, predicate: P) -> Option<usize> where
459452
P: FnMut(<I as Iterator>::Item) -> bool

0 commit comments

Comments
 (0)