File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ wasi-clocks API to the list.</p>
8484<p >This function does not return a <code >result</code >; polling in itself does not
8585do any I/O so it doesn't fail. If any of the I/O sources identified by
8686the pollables has an error, it is indicated by marking the source as
87- being reaedy for I/O.</p >
87+ being ready for I/O.</p >
8888<h5 >Params</h5 >
8989<ul >
9090<li ><a name =" poll.in " ><code >in</code ></a >: list< ; borrow< ; <a href =" #pollable " ><a href =" #pollable " ><code >pollable</code ></a ></a >> ;> ; </li >
Original file line number Diff line number Diff line change @@ -11,13 +11,11 @@ interface error {
1111 /// `wasi:io/streams/stream-error` type.
1212 ///
1313 /// To provide more specific error information, other interfaces may
14- /// provide functions to further "downcast" this error into more specific
15- /// error information. For example, `error` s returned in streams derived
16- /// from filesystem types to be described using the filesystem's own
17- /// error-code type, using the function
18- /// `wasi:filesystem/types/filesystem-error-code` , which takes a parameter
19- /// `borrow<error>` and returns
20- /// `option<wasi:filesystem/types/error-code>` .
14+ /// offer functions to "downcast" this error into more specific types. For example,
15+ /// errors returned from streams derived from filesystem types can be described using
16+ /// the filesystem's own error-code type. This is done using the function
17+ /// `wasi:filesystem/types/filesystem-error-code` , which takes a `borrow<error>`
18+ /// parameter and returns an `option<wasi:filesystem/types/error-code>` .
2119 ///
2220 /// The set of functions which can "downcast" an `error` into a more
2321 /// concrete type is open.
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ interface poll {
3636 /// This function does not return a `result` ; polling in itself does not
3737 /// do any I/O so it doesn't fail. If any of the I/O sources identified by
3838 /// the pollables has an error, it is indicated by marking the source as
39- /// being reaedy for I/O.
39+ /// being ready for I/O.
4040 poll : func (in : list <borrow <pollable >>) -> list <u32 >;
4141}
You can’t perform that action at this time.
0 commit comments