Skip to content

Commit 59bdd8b

Browse files
committed
libcore: Fix build breakage
1 parent 9653436 commit 59bdd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ pure fn eq(a: &~str, b: &~str) -> bool {
693693
/// Bytewise slice less than
694694
pure fn lt(a: &str, b: &str) -> bool {
695695
let (a_len, b_len) = (a.len(), b.len());
696-
let mut end = uint::min(a_len, b_len);
696+
let mut end = uint::min(&a_len, &b_len);
697697

698698
let mut i = 0;
699699
while i < end {

0 commit comments

Comments
 (0)