libcore: Fix build breakage
This commit is contained in:
parent
96534365c2
commit
59bdd8bde6
@ -693,7 +693,7 @@ pure fn eq(a: &~str, b: &~str) -> bool {
|
|||||||
/// Bytewise slice less than
|
/// Bytewise slice less than
|
||||||
pure fn lt(a: &str, b: &str) -> bool {
|
pure fn lt(a: &str, b: &str) -> bool {
|
||||||
let (a_len, b_len) = (a.len(), b.len());
|
let (a_len, b_len) = (a.len(), b.len());
|
||||||
let mut end = uint::min(a_len, b_len);
|
let mut end = uint::min(&a_len, &b_len);
|
||||||
|
|
||||||
let mut i = 0;
|
let mut i = 0;
|
||||||
while i < end {
|
while i < end {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user