Fix bug in string comparison. std.rc typechecks now.
This commit is contained in:
parent
0cf16e77ca
commit
a9ba76d52a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue