Skip to content

Commit 4d8b6d4

Browse files
authored
Rollup merge of rust-lang#100392 - nnethercote:simplify-visitors, r=cjgillot
Simplify visitors By removing some unused arguments. r? `@cjgillot`
2 parents cf3f71d + eb68895 commit 4d8b6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unused_unit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl EarlyLintPass for UnusedUnit {
8989
}
9090
}
9191

92-
fn check_poly_trait_ref(&mut self, cx: &EarlyContext<'_>, poly: &ast::PolyTraitRef, _: &ast::TraitBoundModifier) {
92+
fn check_poly_trait_ref(&mut self, cx: &EarlyContext<'_>, poly: &ast::PolyTraitRef) {
9393
let segments = &poly.trait_ref.path.segments;
9494

9595
if_chain! {

0 commit comments

Comments
 (0)