Fix bug in string comparison. std.rc typechecks now.

This commit is contained in:
Patrick Walton 2011-03-18 14:15:27 -07:00
parent 0cf16e77ca
commit a9ba76d52a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ fn lteq(&str a, &str b) -> bool {
while (x < n) {
auto cha = a.(x);
auto chb = b.(x);
if (cha <= chb) {
if (cha < chb) {
ret true;
}
else if (cha > chb) {