File tree 3 files changed +7
-9
lines changed 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>
84
84
<p >This function does not return a <code >result</code >; polling in itself does not
85
85
do any I/O so it doesn't fail. If any of the I/O sources identified by
86
86
the 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 >
88
88
<h5 >Params</h5 >
89
89
<ul >
90
90
<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 {
11
11
/// `wasi:io/streams/stream-error` type.
12
12
///
13
13
/// 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>` .
21
19
///
22
20
/// The set of functions which can "downcast" an `error` into a more
23
21
/// concrete type is open.
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ interface poll {
36
36
/// This function does not return a `result` ; polling in itself does not
37
37
/// do any I/O so it doesn't fail. If any of the I/O sources identified by
38
38
/// 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.
40
40
poll : func (in : list <borrow <pollable >>) -> list <u32 >;
41
41
}
You can’t perform that action at this time.
0 commit comments