summaryrefslogtreecommitdiff
path: root/lib/std/readall.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/readall.myr')
-rw-r--r--lib/std/readall.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/readall.myr b/lib/std/readall.myr
index 33fbc0c..68c930e 100644
--- a/lib/std/readall.myr
+++ b/lib/std/readall.myr
@@ -18,8 +18,8 @@ const readall = {fd, dst
break
| `Ok n:
dst = dst[n:]
- | `Fail e:
- -> `Fail e
+ | `Err e:
+ -> `Err e
;;
;;
-> `Ok sz - dst.len