commit 2219016e92afd3eea74af7d2c708c60d986e4dd7
parent 26d0198df0ae874a25d18e65b6c855c3eeeebef0
Author: Sebastian <sebastian@sebsite.pw>
Date: Thu, 5 May 2022 17:35:25 -0400
io: correct io::file docs
A file can be used as a handle, not a stream.
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/io/+freebsd/file.ha b/io/+freebsd/file.ha
@@ -6,7 +6,7 @@ use rt;
use strings;
// This is an opaque type which encloses an OS-level file handle resource. It
-// can be used as a [[stream]] in most situations, but there are some APIs which
+// can be used as a [[handle]] in most situations, but there are some APIs which
// require a [[file]] with some OS-level handle backing it - this type is used
// for such APIs.
//
diff --git a/io/+linux/file.ha b/io/+linux/file.ha
@@ -7,7 +7,7 @@ use rt;
use strings;
// This is an opaque type which encloses an OS-level file handle resource. It
-// can be used as a [[stream]] in most situations, but there are some APIs which
+// can be used as a [[handle]] in most situations, but there are some APIs which
// require a [[file]] with some OS-level handle backing it - this type is used
// for such APIs.
//