diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2021-10-03 23:13:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-03 23:13:23 -0700 |
| commit | 8c7c6893931bf14e6c26eef7d1d5a7b46f2c8561 (patch) | |
| tree | f31518a2ee9247f3bfecedf5e2350cc979238c80 /src | |
| parent | d236c04bbfe23580d99134381f01045129acfd62 (diff) | |
| parent | e017e458abce863b1d3ce19852bf683fcd972980 (diff) | |
| download | rust-8c7c6893931bf14e6c26eef7d1d5a7b46f2c8561.tar.gz rust-8c7c6893931bf14e6c26eef7d1d5a7b46f2c8561.zip | |
Rollup merge of #89467 - tniessen:rustdoc-unecessary, r=jyn514
Fix typos in rustdoc/lints This PR merely fixes a few typos in a recently introduced change :) Refs: https://github.com/rust-lang/rust/pull/85223
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustdoc/src/lints.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md index d5981dd83de..1773c15464a 100644 --- a/src/doc/rustdoc/src/lints.md +++ b/src/doc/rustdoc/src/lints.md @@ -70,7 +70,7 @@ This lint **warns by default**. This lint detects when [intra-doc links] from pu For example: ```rust -#![warn(rustdoc::private_intra_doc_links)] // note: unecessary - warns by default. +#![warn(rustdoc::private_intra_doc_links)] // note: unnecessary - warns by default. /// [private] pub fn public() {} @@ -229,7 +229,7 @@ This lint **warns by default**. It detects code block attributes in documentation examples that have potentially mis-typed values. For example: ```rust -#![warn(rustdoc::invalid_codeblock_attributes)] // note: unecessary - warns by default. +#![warn(rustdoc::invalid_codeblock_attributes)] // note: unnecessary - warns by default. /// Example. /// @@ -348,7 +348,7 @@ This lint is **warn-by-default**. It detects URLs which are not links. For example: ```rust -#![warn(rustdoc::bare_urls)] // note: unecessary - warns by default. +#![warn(rustdoc::bare_urls)] // note: unnecessary - warns by default. /// http://example.org /// [http://example.net] |
