hare

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

commit eeba24b701e28010b4ada79cffd9625f157ab063
parent 609593785c8dfbdf4b3ecddd674b99635558ab83
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 31 Jan 2021 12:47:48 -0500

io: improve docs for stream

Diffstat:
Mio/stream.ha | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/io/stream.ha b/io/stream.ha @@ -10,10 +10,10 @@ // fn open(path: str) *io::stream = { // let fd = // ... // let stream = alloc(*my_stream, my_stream { -// name: strings::dup(path), -// reader: &my_stream_read, -// writer: &my_stream_write, -// closer: &my_stream_close, +// name = strings::dup(path), +// reader = &my_stream_read, +// writer = &my_stream_write, +// closer = null, // fd: fd, // ... // });