diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-08-29 18:27:26 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-08-29 18:27:26 -0700 |
| commit | 59bdd8bde67e0e8df8ed845515c686aad40b2d01 (patch) | |
| tree | ef312389abe15e7e56d6a8d666618bd302da6e8f /src | |
| parent | 96534365c228d9c3962036967a7f1a1b17639e33 (diff) | |
libcore: Fix build breakage
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs index 7ec53536594..654992933d3 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -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 { |
