summaryrefslogtreecommitdiff
path: root/lib/date/parse.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date/parse.myr')
-rw-r--r--lib/date/parse.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/date/parse.myr b/lib/date/parse.myr
index b90bc43..d7d8af3 100644
--- a/lib/date/parse.myr
+++ b/lib/date/parse.myr
@@ -164,7 +164,7 @@ const eatspace = {s
const indexof = {dst, s, set, err
for var i = 0; i < set.len; i++
- if s.len >= set[i].len && std.cmp(s[:set[i].len], set[i])
+ if s.len >= set[i].len && std.eq(s[:set[i].len], set[i])
dst# = i
-> s[set[i].len:]
;;