mention lint-level command line flags as well as attributes

This commit is contained in:
Zack M. Davis 2018-06-30 09:03:00 -07:00 committed by Who? Me?!
parent b2e7a7ef74
commit abccbe7139
1 changed files with 2 additions and 1 deletions

View File

@ -261,4 +261,5 @@ For example,
```
This defines the `nonstandard_style` group which turns on the listed lints. A
user can turn on these lints by using `!#[warn(nonstandard_style)]`.
user can turn on these lints with a `!#[warn(nonstandard_style)]` attribute in
the source code, or by passing `-W nonstandard-style` on the command line.