Skip to content

Commit

Permalink
Update for review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 4, 2019
1 parent d847bde commit 884b952
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ fn some_unused_variables() {

## Meta Item Attribute Syntax

A "meta item" is the syntax used for the _Attr_ rule by built-in attributes
and the [`meta` macro fragment specifier]. It has the following grammar:
A "meta item" is the syntax used for the _Attr_ rule by most built-in
attributes and the [`meta` macro fragment specifier]. It has the following
grammar:

> **<sup>Syntax</sup>**\
> _MetaItem_ :\
Expand Down Expand Up @@ -576,11 +577,13 @@ used.
struct S {
}

// Controls the "cyclomatic complexity" threshold for the cLippy tool.
// Controls the "cyclomatic complexity" threshold for the clippy tool.
#[clippy::cyclomatic_complexity = "100"]
pub fn f() {}
```

> Note: `rustc` currently recognizes the tools "clippy" and "rustfmt".
[_DelimTokenTree_]: macros.html
[_LiteralExpression_]: expressions/literal-expr.html
[_SimplePath_]: paths.html#simple-paths
Expand Down

0 comments on commit 884b952

Please sign in to comment.