mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Update main.rs
This commit is contained in:
parent
e0ee58b7fd
commit
8874edd238
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ with:
|
||||||
-D --deny OPT Set lint denied
|
-D --deny OPT Set lint denied
|
||||||
-F --forbid OPT Set lint forbidden
|
-F --forbid OPT Set lint forbidden
|
||||||
|
|
||||||
You can use tool lints to allow or deny lints from your code, eg.:
|
You can use tool lints to allow or deny lints from your code, e.g.:
|
||||||
|
|
||||||
#[allow(clippy::needless_lifetimes)]
|
#[allow(clippy::needless_lifetimes)]
|
||||||
"#;
|
"#;
|
||||||
|
|
Loading…
Reference in a new issue