diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-11 22:53:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-11 22:53:08 +0200 |
| commit | 8237efc52d909c482092fbf60356cfca59bf8ea0 (patch) | |
| tree | 3a817b002a70d7151595c25a24a45463cc22aa4d /src/tools | |
| parent | cefcfda6e63f934b44368261c6972f75dbe791f6 (diff) | |
| parent | b8b851f42e9a322179526f55d3fecf2a83bfeb11 (diff) | |
| download | rust-8237efc52d909c482092fbf60356cfca59bf8ea0.tar.gz rust-8237efc52d909c482092fbf60356cfca59bf8ea0.zip | |
Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot
Simplify visitors By removing some unused arguments. r? `@cjgillot`
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/clippy/clippy_lints/src/unused_unit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/clippy_lints/src/unused_unit.rs b/src/tools/clippy/clippy_lints/src/unused_unit.rs index 52585e59566..cd1d90e860b 100644 --- a/src/tools/clippy/clippy_lints/src/unused_unit.rs +++ b/src/tools/clippy/clippy_lints/src/unused_unit.rs @@ -89,7 +89,7 @@ impl EarlyLintPass for UnusedUnit { } } - fn check_poly_trait_ref(&mut self, cx: &EarlyContext<'_>, poly: &ast::PolyTraitRef, _: &ast::TraitBoundModifier) { + fn check_poly_trait_ref(&mut self, cx: &EarlyContext<'_>, poly: &ast::PolyTraitRef) { let segments = &poly.trait_ref.path.segments; if_chain! { |
