File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: f8f2c7a9537c7f333b242f616aefb75a83860927
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
5
- refs/heads/try: b3cd05642c98feccee93295a14efa933776cf3e6
5
+ refs/heads/try: aa921b61622a6dc08d5c70cb6a217b1f6d304aac
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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