Skip to content

Commit 8ba6586

Browse files
authored
Fix typos discovered by codespell (#630)
1 parent a8cf496 commit 8ba6586

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Proposals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Proposals remain in the 0.x semver range until they reach Phase 5 and are fully
7979

8080
For some APIs, it makes sense to add new features after the API itself has reached Phase 5. These feature additions should go through the same standardization process. Once they have reached Phase 5, the minor version number of the release should be incremented.
8181

82-
Some APIs may require backwards-incompatible changes over time. In these cases, we allow proposals to increment the major version number _only if_ the old API can be implmented in terms of the new API. As part of the new version, champions are expected to provide a tool that enables this backwards-compatibility. If that is not possible, then a new API proposal with a new name should be started. The original API can then be deprecated over time if it makes sense to do so.
82+
Some APIs may require backwards-incompatible changes over time. In these cases, we allow proposals to increment the major version number _only if_ the old API can be implemented in terms of the new API. As part of the new version, champions are expected to provide a tool that enables this backwards-compatibility. If that is not possible, then a new API proposal with a new name should be started. The original API can then be deprecated over time if it makes sense to do so.
8383

8484
[WebAssembly CG Phases process]: https://github.com/WebAssembly/meetings/blob/master/process/phases.md
8585
[witx]: https://github.com/WebAssembly/WASI/blob/main/tools/witx-docs.md

wasip2/http/handler.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface incoming-handler {
1212
/// sent. This enables both streaming to the response body, and performing other
1313
/// work.
1414
///
15-
/// The implementor of this function must write a response to the
15+
/// The implementer of this function must write a response to the
1616
/// `response-outparam` before returning, or else the caller will respond
1717
/// with an error on its behalf.
1818
@since(version = 0.2.0)

wasip2/sockets/tcp.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface tcp {
6666
/// - `not-in-progress`: A `bind` operation is not in progress.
6767
/// - `would-block`: Can't finish the operation, it is still in progress. (EWOULDBLOCK, EAGAIN)
6868
///
69-
/// # Implementors note
69+
/// # Implementers note
7070
/// When binding to a non-zero port, this bind operation shouldn't be affected by the TIME_WAIT
7171
/// state of a recently closed socket on the same local address. In practice this means that the SO_REUSEADDR
7272
/// socket option should be set implicitly on all platforms, except on Windows where this is the default behavior
@@ -115,7 +115,7 @@ interface tcp {
115115
/// - `not-in-progress`: A connect operation is not in progress.
116116
/// - `would-block`: Can't finish the operation, it is still in progress. (EWOULDBLOCK, EAGAIN)
117117
///
118-
/// # Implementors note
118+
/// # Implementers note
119119
/// The POSIX equivalent of `start-connect` is the regular `connect` syscall.
120120
/// Because all WASI sockets are non-blocking this is expected to return
121121
/// EINPROGRESS, which should be translated to `ok()` in WASI.
@@ -148,7 +148,7 @@ interface tcp {
148148
/// - `not-in-progress`: A listen operation is not in progress.
149149
/// - `would-block`: Can't finish the operation, it is still in progress. (EWOULDBLOCK, EAGAIN)
150150
///
151-
/// # Implementors note
151+
/// # Implementers note
152152
/// Unlike in POSIX, in WASI the listen operation is async. This enables
153153
/// interactive WASI hosts to inject permission prompts. Runtimes that
154154
/// don't want to make use of this ability can simply call the native

wasip2/sockets/udp.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ interface udp {
5555
/// - `not-in-progress`: A `bind` operation is not in progress.
5656
/// - `would-block`: Can't finish the operation, it is still in progress. (EWOULDBLOCK, EAGAIN)
5757
///
58-
/// # Implementors note
58+
/// # Implementers note
5959
/// Unlike in POSIX, in WASI the bind operation is async. This enables
6060
/// interactive WASI hosts to inject permission prompts. Runtimes that
6161
/// don't want to make use of this ability can simply call the native

0 commit comments

Comments
 (0)