Skip to content
/ janet Public
forked from janet-lang/janet

Commit

Permalink
Additional tweak to address janet-lang#1523
Browse files Browse the repository at this point in the history
  • Loading branch information
sogaiu committed Dec 2, 2024
1 parent a0eeb63 commit 9338312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ JANET_CORE_FN(cfun_stream_read,
"Read up to n bytes from a stream, suspending the current fiber until the bytes are available. "
"`n` can also be the keyword `:all` to read into the buffer until end of stream. "
"If less than n bytes are available (and more than 0), will push those bytes and return early. "
"Takes an optional timeout in seconds, after which will return nil. "
"Takes an optional timeout in seconds, after which will raise an error. "
"Returns a buffer with up to n more bytes in it, or raises an error if the read failed.") {
janet_arity(argc, 2, 4);
JanetStream *stream = janet_getabstract(argv, 0, &janet_stream_type);
Expand Down

0 comments on commit 9338312

Please sign in to comment.