aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/_str.rs b/src/lib/_str.rs
index 93d0a9f2..e73fd115 100644
--- a/src/lib/_str.rs
+++ b/src/lib/_str.rs
@@ -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) {