File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ fn some_unused_variables() {
84
84
85
85
## Meta Item Attribute Syntax
86
86
87
- A "meta item" is the syntax used for the _ Attr_ rule by built-in attributes
88
- and the [ ` meta ` macro fragment specifier] . It has the following grammar:
87
+ A "meta item" is the syntax used for the _ Attr_ rule by most built-in
88
+ attributes and the [ ` meta ` macro fragment specifier] . It has the following
89
+ grammar:
89
90
90
91
> ** <sup >Syntax</sup >** \
91
92
> _ MetaItem_ :\
@@ -576,11 +577,13 @@ used.
576
577
struct S {
577
578
}
578
579
579
- // Controls the "cyclomatic complexity" threshold for the cLippy tool.
580
+ // Controls the "cyclomatic complexity" threshold for the clippy tool.
580
581
#[clippy:: cyclomatic_complexity = " 100" ]
581
582
pub fn f () {}
582
583
```
583
584
585
+ > Note: ` rustc ` currently recognizes the tools "clippy" and "rustfmt".
586
+
584
587
[ _DelimTokenTree_ ] : macros.html
585
588
[ _LiteralExpression_ ] : expressions/literal-expr.html
586
589
[ _SimplePath_ ] : paths.html#simple-paths
You can’t perform that action at this time.
0 commit comments