Skip to content

Commit b460e45

Browse files
committed
Update iter.rs
fixed a mistake.
1 parent 8dbc369 commit b460e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3114,7 +3114,7 @@ pub mod order {
31143114
}
31153115

31163116
/// Returns `a` < `b` lexicographically (Using partial order, `PartialOrd`)
3117-
pub fn lt<R: Iterator, L: Iterator>(mut a: L, mut b: R) -> bool where
3117+
pub fn lt<L: Iterator, R: Iterator>(mut a: L, mut b: R) -> bool where
31183118
L::Item: PartialOrd<R::Item>,
31193119
{
31203120
loop {

0 commit comments

Comments
 (0)