diff options
| author | Eric Huss <eric@huss.org> | 2023-12-05 13:08:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-05 18:08:53 -0300 |
| commit | 16cfdfb32847e131d8ab252eab2fc4ba5ea0bb98 (patch) | |
| tree | 617ad2ac3bb32e6e4d96858767aa208395f6a37c /src/doc/rustc-dev-guide | |
| parent | 934aa718726231e4bc1e12b11423440b951dd23b (diff) | |
| download | rust-16cfdfb32847e131d8ab252eab2fc4ba5ea0bb98.tar.gz rust-16cfdfb32847e131d8ab252eab2fc4ba5ea0bb98.zip | |
Fix typo of unused_parens (#1832)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/diagnostics.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/diagnostics.md b/src/doc/rustc-dev-guide/src/diagnostics.md index 9f4245f28fc..adc108d06cb 100644 --- a/src/doc/rustc-dev-guide/src/diagnostics.md +++ b/src/doc/rustc-dev-guide/src/diagnostics.md @@ -523,7 +523,7 @@ are: - Early lint pass: Works on [AST nodes] after [macro expansion] and name resolution, just before [HIR lowering]. These lints are for purely syntactical lints. - - Example: The [`unsued_parens`] lint checks for parenthesized-expressions + - Example: The [`unused_parens`] lint checks for parenthesized-expressions in situations where they are not needed, like an `if` condition. - Late lint pass: Works on [HIR nodes], towards the end of [analysis] (after @@ -558,7 +558,7 @@ compiler](#linting-early-in-the-compiler). [macro expansion]: macro-expansion.md [analysis]: part-4-intro.md [`keyword_idents`]: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#keyword-idents -[`unsued_parens`]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens +[`unused_parens`]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens [`invalid_value`]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#invalid-value [`arithmetic_overflow`]: https://doc.rust-lang.org/rustc/lints/listing/deny-by-default.html#arithmetic-overflow [`unused_mut`]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-mut |
