We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
position
1 parent c779782 commit d752f81Copy full SHA for d752f81
src/libcore/iter/mod.rs
@@ -447,13 +447,6 @@ impl<I> Iterator for Rev<I> where I: DoubleEndedIterator {
447
self.iter.rfind(predicate)
448
}
449
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
-
457
#[inline]
458
fn rposition<P>(&mut self, predicate: P) -> Option<usize> where
459
P: FnMut(<I as Iterator>::Item) -> bool
0 commit comments