Skip to content

Commit 6b9706f

Browse files
sunfishcodelukewagner
authored andcommitted
Fix some typos in Explainer.md.
1 parent d5c0c9f commit 6b9706f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

design/mvp/Explainer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ the full range of flexibility to:
657657
A consequence of this, however, is that components *must not* depend on the
658658
contents of `error-context` values for behavioral correctness. In particular,
659659
case analysis of the contents of an `error-context` should not determine
660-
*error receovery*; explicit `result` or `variant` types must be used in the
660+
*error recovery*; explicit `result` or `variant` types must be used in the
661661
function return type instead (e.g.,
662662
`(func (result (tuple (stream u8) (future $my-error)))`).
663663

@@ -937,7 +937,7 @@ Next, the type equality relation on ASTs is relaxed to a more flexible
937937
`component` types, but may be relaxed for more type constructors in the future
938938
to better support API Evolution (being careful to understand how subtyping
939939
manifests itself in the wide variety of source languages so that
940-
subtype-compatible updates don't inadvertantly break source-level clients).
940+
subtype-compatible updates don't inadvertently break source-level clients).
941941

942942
Component and instance subtyping allows a subtype to export more and import
943943
less than is declared by the supertype, ignoring the exact order of imports and
@@ -1839,7 +1839,7 @@ Components provide six options for naming imports:
18391839
* a **URL name** that the component is requesting be resolved to a *particular*
18401840
wasm implementation by [fetching] the URL.
18411841
* a **hash name** containing a content-hash of the bytes of a *particular*
1842-
wasm implemenentation but not specifying location of the bytes.
1842+
wasm implementation but not specifying location of the bytes.
18431843
* a **locked dependency name** that the component is requesting be resolved via
18441844
some contextually-supplied registry to a *particular* wasm implementation
18451845
using the given hierarchical name and version; and
@@ -1937,7 +1937,7 @@ language/convention. The highly-restricted character set ensures that
19371937
capitalization is trivial and does not require consulting Unicode tables.
19381938

19391939
Because some casing schemes (such as all-lowercase) would lead to clashes if
1940-
two `label`s differed only in case, in all cases where "uniquness" is required
1940+
two `label`s differed only in case, in all cases where "uniqueness" is required
19411941
between a set of names (viz., import/export names, record field labels, variant
19421942
case labels, and function parameter/result names), two `label`s that differ
19431943
only in case are considered equal and thus rejected.

0 commit comments

Comments
 (0)