Skip to content

Commit 5c1d7e4

Browse files
committed
Update for review comments.
1 parent 55bf168 commit 5c1d7e4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/attributes.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ fn some_unused_variables() {
8484

8585
## Meta Item Attribute Syntax
8686

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:
8990

9091
> **<sup>Syntax</sup>**\
9192
> _MetaItem_ :\
@@ -576,11 +577,13 @@ used.
576577
struct S {
577578
}
578579

579-
// Controls the "cyclomatic complexity" threshold for the cLippy tool.
580+
// Controls the "cyclomatic complexity" threshold for the clippy tool.
580581
#[clippy::cyclomatic_complexity = "100"]
581582
pub fn f() {}
582583
```
583584

585+
> Note: `rustc` currently recognizes the tools "clippy" and "rustfmt".
586+
584587
[_DelimTokenTree_]: macros.html
585588
[_LiteralExpression_]: expressions/literal-expr.html
586589
[_SimplePath_]: paths.html#simple-paths

0 commit comments

Comments
 (0)