Skip to content

Commit

Permalink
Update wit/streams.wit
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Bakker <github@davebakker.io>
  • Loading branch information
Pat Hickey and badeend committed Aug 9, 2023
1 parent 7edab26 commit c22110e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions example-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ bytes into the instance.</p>
<p>Once a stream has reached the end, subsequent calls to read or
<a href="#skip"><code>skip</code></a> will always report end-of-stream rather than producing more
data.</p>
<p>This function returns the number of bytes skipped, along with a bool
indicating whether the end of the stream was reached. The returned
value will be at most <code>len</code>; it may be less.</p>
<p>This function returns the number of bytes skipped, along with a
<a href="#stream_status"><code>stream-status</code></a> indicating whether the end of the stream was
reached. The returned value will be at most <code>len</code>; it may be less.</p>
<h5>Params</h5>
<ul>
<li><a name="skip.this"><code>this</code></a>: <a href="#input_stream"><a href="#input_stream"><code>input-stream</code></a></a></li>
Expand Down
6 changes: 3 additions & 3 deletions wit/streams.wit
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ interface streams {
/// `skip` will always report end-of-stream rather than producing more
/// data.
///
/// This function returns the number of bytes skipped, along with a bool
/// indicating whether the end of the stream was reached. The returned
/// value will be at most `len`; it may be less.
/// This function returns the number of bytes skipped, along with a
/// `stream-status` indicating whether the end of the stream was
/// reached. The returned value will be at most `len`; it may be less.
skip: func(
this: input-stream,
/// The maximum number of bytes to skip.
Expand Down

0 comments on commit c22110e

Please sign in to comment.