summaryrefslogtreecommitdiff
path: root/lib/std/writeall.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/writeall.myr')
-rw-r--r--lib/std/writeall.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/writeall.myr b/lib/std/writeall.myr
index 9e5ea09..3559c96 100644
--- a/lib/std/writeall.myr
+++ b/lib/std/writeall.myr
@@ -16,7 +16,7 @@ const writeall = {fd, src
match std.write(fd, src)
| `Ok n:
src = src[n:]
- | `Fail e:
+ | `Err e:
-> (sz - src.len, `Some e)
;;
;;