about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorWei-Ming Yang <rick68@users.noreply.github.com>2015-05-19 12:40:01 +0800
committerWei-Ming Yang <rick68@users.noreply.github.com>2015-05-19 12:40:01 +0800
commitb460e4516d79d1f13b97625ee39246290dcff022 (patch)
tree5aab5f088fab1e3a3c059dcd654f5d58be693a74 /src/libcore
parent8dbc3699213965feb422ff9257111f2edb2fc9db (diff)
downloadrust-b460e4516d79d1f13b97625ee39246290dcff022.tar.gz
rust-b460e4516d79d1f13b97625ee39246290dcff022.zip
Update iter.rs
fixed a mistake.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index cab79d938c3..bc839eb72b1 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -3114,7 +3114,7 @@ pub mod order {
     }
 
     /// Returns `a` < `b` lexicographically (Using partial order, `PartialOrd`)
-    pub fn lt<R: Iterator, L: Iterator>(mut a: L, mut b: R) -> bool where
+    pub fn lt<L: Iterator, R: Iterator>(mut a: L, mut b: R) -> bool where
         L::Item: PartialOrd<R::Item>,
     {
         loop {