Skip to content

Commit dc4eb32

Browse files
Fix typos. (#80)
1 parent edfb408 commit dc4eb32

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ types, `input-stream`, and `output-stream`, which support `read` and
4949
### Non-goals
5050

5151
- Support for async. That will be addressed in the component-model async
52-
design, where we can have the benefit of tigher integration with language
52+
design, where we can have the benefit of tighter integration with language
5353
bindings.
5454
- Bidirectional streams.
5555

imports.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ and stream is ready for writing again.</p>
320320
</ul>
321321
<h4><a name="method_output_stream_subscribe"></a><code>[method]output-stream.subscribe: func</code></h4>
322322
<p>Create a <a href="#pollable"><code>pollable</code></a> which will resolve once the output-stream
323-
is ready for more writing, or an error has occured. When this
323+
is ready for more writing, or an error has occurred. When this
324324
pollable is ready, <code>check-write</code> will return <code>ok(n)</code> with n&gt;0, or an
325325
error.</p>
326326
<p>If the stream is closed, this pollable is always ready immediately.</p>
@@ -383,7 +383,7 @@ let _ = this.check-write(); // eliding error handling
383383
</ul>
384384
<h4><a name="method_output_stream_splice"></a><code>[method]output-stream.splice: func</code></h4>
385385
<p>Read from one stream and write to another.</p>
386-
<p>The behavior of splice is equivelant to:</p>
386+
<p>The behavior of splice is equivalent to:</p>
387387
<ol>
388388
<li>calling <code>check-write</code> on the <a href="#output_stream"><code>output-stream</code></a></li>
389389
<li>calling <code>read</code> on the <a href="#input_stream"><code>input-stream</code></a> with the smaller of the

wit/streams.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ interface streams {
192192
blocking-flush: func() -> result<_, stream-error>;
193193

194194
/// Create a `pollable` which will resolve once the output-stream
195-
/// is ready for more writing, or an error has occured. When this
195+
/// is ready for more writing, or an error has occurred. When this
196196
/// pollable is ready, `check-write` will return `ok(n)` with n>0, or an
197197
/// error.
198198
///
@@ -247,7 +247,7 @@ interface streams {
247247

248248
/// Read from one stream and write to another.
249249
///
250-
/// The behavior of splice is equivelant to:
250+
/// The behavior of splice is equivalent to:
251251
/// 1. calling `check-write` on the `output-stream`
252252
/// 2. calling `read` on the `input-stream` with the smaller of the
253253
/// `check-write` permitted length and the `len` provided to `splice`

0 commit comments

Comments
 (0)