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.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/readall.myr b/lib/std/readall.myr
index 68c930e..4f7d1da 100644
--- a/lib/std/readall.myr
+++ b/lib/std/readall.myr
@@ -22,5 +22,5 @@ const readall = {fd, dst
-> `Err e
;;
;;
- -> `Ok sz - dst.len
+ -> `Ok (sz - dst.len)
}