mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Auto merge of #8216 - pmnoxx:piotr-fix-clippy-warnings, r=xFrednet
Fix `clippy::use-self`` warning in ` src/main.rs` `ClippyCmd` warnings gets generated due to addition of `clippy::use-self`. This PR fixes that. ``` warning: unnecessary structure name repetition --> src/main.rs:99:9 | 99 | ClippyCmd { | ^^^^^^^^^ help: use the applicable keyword: `Self` | = note: `-W clippy::use-self` implied by `-W clippy::nursery` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self ``` --- changelog: none
This commit is contained in:
commit
3ea77847fe
@ -96,7 +96,7 @@ impl ClippyCmd {
|
||||
clippy_args.push("--no-deps".into());
|
||||
}
|
||||
|
||||
ClippyCmd {
|
||||
Self {
|
||||
cargo_subcommand,
|
||||
args,
|
||||
clippy_args,
|
||||
|
Loading…
Reference in New Issue
Block a user