commit 167c3892c58e1edf965486aa0d5b494510c2b73a
parent 078f0833d88f1c9bc9238264694b759bd639abdf
Author: Armin Preiml <apreiml@strohwolke.at>
Date: Tue, 6 Dec 2022 16:14:45 +0100
bufio: fix doc
Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bufio/memstream.ha b/bufio/memstream.ha
@@ -97,7 +97,7 @@ const dynamic_vt_rw: io::vtable = io::vtable {
//
// Calling [[io::close]] on this stream will free the buffer. If a stream's data
// is transferred via [[buffer]], the stream shouldn't be closed as long as the
-// data is freed.
+// data is used.
export fn dynamic(mode: io::mode) memstream = dynamic_from([], mode);
// Like [[dynamic]], but takes an existing slice as input. Writes are appended