File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/snap-stage3/src/libcore Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: b3cd05642c98feccee93295a14efa933776cf3e6
4
+ refs/heads/snap-stage3: aa921b61622a6dc08d5c70cb6a217b1f6d304aac
5
5
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ pub trait ExactSizeIterator<A> : DoubleEndedIterator<A> {
749
749
///
750
750
/// If no element matches, None is returned.
751
751
#[ inline]
752
- fn rposition ( & mut self , predicate: | A | -> bool ) -> Option < uint > {
752
+ fn rposition < P > ( & mut self , mut predicate : P ) -> Option < uint > where P : FnMut ( A ) -> bool {
753
753
let len = self . len ( ) ;
754
754
for i in range ( 0 , len) . rev ( ) {
755
755
if predicate ( self . next_back ( ) . expect ( "rposition: incorrect ExactSizeIterator" ) ) {
You can’t perform that action at this time.
0 commit comments