File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 523
523
- Early lint pass: Works on [ AST nodes] after [ macro expansion] and name
524
524
resolution, just before [ HIR lowering] . These lints are for purely
525
525
syntactical lints.
526
- - Example: The [ ` unsued_parens ` ] lint checks for parenthesized-expressions
526
+ - Example: The [ ` unused_parens ` ] lint checks for parenthesized-expressions
527
527
in situations where they are not needed, like an ` if ` condition.
528
528
529
529
- Late lint pass: Works on [ HIR nodes] , towards the end of [ analysis] (after
@@ -558,7 +558,7 @@ compiler](#linting-early-in-the-compiler).
558
558
[ macro expansion ] : macro-expansion.md
559
559
[ analysis ] : part-4-intro.md
560
560
[ `keyword_idents` ] : https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#keyword-idents
561
- [ `unsued_parens ` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens
561
+ [ `unused_parens ` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens
562
562
[ `invalid_value` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#invalid-value
563
563
[ `arithmetic_overflow` ] : https://doc.rust-lang.org/rustc/lints/listing/deny-by-default.html#arithmetic-overflow
564
564
[ `unused_mut` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-mut
You can’t perform that action at this time.
0 commit comments