hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 2743b7f149a001f62972264ef7da67e0b7278009
parent e29ec221cd43655821a89857c8706fc41cb94421
Author: Byron Torres <b@torresjrjr.com>
Date:   Fri, 20 Aug 2021 10:54:06 +0100

bufio::buffered: fix docs

Signed-off-by: Byron Torres <b@torresjrjr.com>

Diffstat:
Mbufio/buffered.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bufio/buffered.ha b/bufio/buffered.ha @@ -27,8 +27,8 @@ export type bufstream = struct { // The caller is responsible for closing the underlying stream, and freeing the // provided buffers if necessary, after the buffered stream is closed. // -// let rbuf: [os::BUFSIZ] = [0...]; -// let wbuf: [os::BUFSIZ] = [0...]; +// let rbuf: [os::BUFSIZ]u8 = [0...]; +// let wbuf: [os::BUFSIZ]u8 = [0...]; // let buffered = bufio::buffered(source, rbuf, wbuf); export fn buffered( src: *io::stream,