Skip to content

Commit 3f573b9

Browse files
committed
dogfood
1 parent 14f006a commit 3f573b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/map_then_identity_transformer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(super) fn check<'tcx>(
4242

4343
// On a given closure `|.., x| y`, checks if `x` is referenced just exactly once in `y` and returns
4444
// the span of `x`
45-
fn refd_param_span<'tcx>(cx: &LateContext<'tcx>, clos_body_id: BodyId) -> Option<Span> {
45+
fn refd_param_span(cx: &LateContext<'_>, clos_body_id: BodyId) -> Option<Span> {
4646
let clos_body = cx.tcx.hir().body(clos_body_id);
4747
if_chain! {
4848
if let [.., clos_param] = clos_body.params;

0 commit comments

Comments
 (0)