summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-10-06 17:06:25 -0400
committerOri Bernstein <ori@eigenstate.org>2014-10-06 17:06:25 -0400
commit56b0a563b067269bb530d7684e01d7feef06266b (patch)
treec0d2629609f36922a0e9584b97051a1d3d152455
parenta1371465bd9d282020dfecf230917a9e881a5574 (diff)
downloadlibbio-56b0a563b067269bb530d7684e01d7feef06266b.tar.gz
Fix typo in return type for 'free'
-rw-r--r--bio.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bio.myr b/bio.myr
index bbcda32..d953795 100644
--- a/bio.myr
+++ b/bio.myr
@@ -27,7 +27,7 @@ pkg bio =
const dial : (srv : byte[:], mode : mode -> std.option(file#))
const create : (path : byte[:], mode : mode, perm : int -> std.option(file#))
const close : (f : file# -> bool)
- const free : (f : file# -> bool)
+ const free : (f : file# -> void)
/* basic i/o. Returns sub-buffer when applicable. */
const write : (f : file#, src : byte[:] -> std.size)