diff options
| author | whosehang <whosehang@outlook.com> | 2024-04-24 13:58:51 +0800 |
|---|---|---|
| committer | whosehang <whosehang@outlook.com> | 2024-04-24 13:58:51 +0800 |
| commit | 65d7c1d2d621c607174f429d5f7553210315dbae (patch) | |
| tree | d39cf7e818aaa04cc1698e04e2da483a8339b802 /src/doc/rustdoc | |
| parent | c1feb3eceef7d5f0126c309a87062cf413fe0a25 (diff) | |
chore: fix some typos in comments
Signed-off-by: whosehang <whosehang@outlook.com>
Diffstat (limited to 'src/doc/rustdoc')
| -rw-r--r-- | src/doc/rustdoc/src/lints.md | 2 | ||||
| -rw-r--r-- | src/doc/rustdoc/src/write-documentation/linking-to-items-by-name.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md index 7d573ac950d..c05077befdb 100644 --- a/src/doc/rustdoc/src/lints.md +++ b/src/doc/rustdoc/src/lints.md @@ -417,7 +417,7 @@ warning: 1 warning emitted This lint is **warn-by-default**. It detects explicit links that are the same as computed automatic links. -This usually means the explicit links are removeable. For example: +This usually means the explicit links are removable. For example: ```rust #![warn(rustdoc::redundant_explicit_links)] // note: unnecessary - warns by default. diff --git a/src/doc/rustdoc/src/write-documentation/linking-to-items-by-name.md b/src/doc/rustdoc/src/write-documentation/linking-to-items-by-name.md index 56c14b1638a..1a367b8274b 100644 --- a/src/doc/rustdoc/src/write-documentation/linking-to-items-by-name.md +++ b/src/doc/rustdoc/src/write-documentation/linking-to-items-by-name.md @@ -168,4 +168,4 @@ render differently in this case: ``` `1.` and `2.` will be displayed as is in the rendered documentation (ie, `[a]` and `[b][c]`) -whereas `3.` and `4.` will be replaced by a link targetting `e` for `[d](e)` and `g` for `[f]`. +whereas `3.` and `4.` will be replaced by a link targeting `e` for `[d](e)` and `g` for `[f]`. |
