summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/regex-match.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/regex-match.myr b/bench/regex-match.myr
index 9416212..47c9264 100644
--- a/bench/regex-match.myr
+++ b/bench/regex-match.myr
@@ -13,7 +13,7 @@ const main = {
for i = 0; i < 100; i++
match regex.compile(".*")
| `std.Ok r: re = r
- | `std.Fail m: std.fatal("couldn't compile regex: %s\n", m)
+ | `std.Err m: std.fatal("couldn't compile regex: %s\n", m)
;;
match regex.exec(re, str)