libcore: Fix build breakage

This commit is contained in:
Patrick Walton 2012-08-29 18:27:26 -07:00
parent 96534365c2
commit 59bdd8bde6

View File

@ -693,7 +693,7 @@ pure fn eq(a: &~str, b: &~str) -> bool {
/// Bytewise slice less than
pure fn lt(a: &str, b: &str) -> bool {
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;
while i < end {