summaryrefslogtreecommitdiff
path: root/lib/date
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-11-03 10:49:27 -0700
committerOri Bernstein <ori@markovcorp.com>2017-11-14 13:50:39 -0800
commit2d00e8f657965583e906327bd4c0eff6953a71cd (patch)
tree18620db7cb82b25881675cbd1966f095399328b2 /lib/date
parent5d40b4ead1f20776f23bed271412af829bbe0e96 (diff)
downloadmc-2d00e8f657965583e906327bd4c0eff6953a71cd.tar.gz
Rename comparable => equatable
Diffstat (limited to 'lib/date')
-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:]
;;