diff options
| author | Takashi Idobe <mail@takashiidobe.com> | 2023-12-22 18:28:19 -0500 |
|---|---|---|
| committer | Takashi Idobe <mail@takashiidobe.com> | 2023-12-22 18:28:19 -0500 |
| commit | c20bdf247bd9266afe685ebe60a775d5bfa43373 (patch) | |
| tree | 2165ffc9820ea2818a9f516163e93a661a19848f /src/doc | |
| parent | 398fd92e177cd1a47ae1bb146506953e87e73d30 (diff) | |
fix some typos found scrolling through the docs
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc/src/platform-support/wasm32-wasi-preview1-threads.md | 2 | ||||
| -rw-r--r-- | src/doc/rustdoc/src/lints.md | 4 | ||||
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/check-cfg.md | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc/src/platform-support/wasm32-wasi-preview1-threads.md b/src/doc/rustc/src/platform-support/wasm32-wasi-preview1-threads.md index 23b99924899..b719cb53aba 100644 --- a/src/doc/rustc/src/platform-support/wasm32-wasi-preview1-threads.md +++ b/src/doc/rustc/src/platform-support/wasm32-wasi-preview1-threads.md @@ -90,7 +90,7 @@ The target intends to match the corresponding Clang target for its `"C"` ABI. ## Platform requirements -The runtime should support the same set of APIs as any other supported wasi target for interacting with the host environment through the WASI standard. The runtime also should have implemetation of [wasi-threads proposal](https://github.com/WebAssembly/wasi-threads). +The runtime should support the same set of APIs as any other supported wasi target for interacting with the host environment through the WASI standard. The runtime also should have implementation of [wasi-threads proposal](https://github.com/WebAssembly/wasi-threads). This target is not a stable target. This means that there are a few engines which implement the `wasi-threads` feature and if they do they're likely behind a diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md index f15e6e451e7..63451e78763 100644 --- a/src/doc/rustdoc/src/lints.md +++ b/src/doc/rustdoc/src/lints.md @@ -415,9 +415,9 @@ warning: 1 warning emitted ## `redundant_explicit_links` -This lint is **warned by default**. It detects explicit links that are same +This lint is **warn-by-default**. It detects explicit links that are same as computed automatic links. -This usually means the explicit links is removeable. For example: +This usually means the explicit links are removeable. For example: ```rust #![warn(rustdoc::redundant_explicit_links)] // note: unnecessary - warns by default. diff --git a/src/doc/unstable-book/src/compiler-flags/check-cfg.md b/src/doc/unstable-book/src/compiler-flags/check-cfg.md index a5b9169c9f3..8ab6e83d99e 100644 --- a/src/doc/unstable-book/src/compiler-flags/check-cfg.md +++ b/src/doc/unstable-book/src/compiler-flags/check-cfg.md @@ -107,7 +107,7 @@ fn poke_platypus() {} fn tame_lion() {} // This is UNEXPECTED, because 'windows' is a well known condition name, -// and because 'windows' doens't take any values, +// and because 'windows' doesn't take any values, // and will cause a compiler warning (by default). #[cfg(windows = "unix")] fn tame_windows() {} |
