From 6ef34bf009343a398b3d04850c5f0784329ebe99 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Fri, 3 Feb 2023 16:46:55 +0100 Subject: [PATCH] Remove commented code --- clippy_lints/src/functions/impl_trait_in_params.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/clippy_lints/src/functions/impl_trait_in_params.rs b/clippy_lints/src/functions/impl_trait_in_params.rs index e4b270db672c..1f00e357bfa4 100644 --- a/clippy_lints/src/functions/impl_trait_in_params.rs +++ b/clippy_lints/src/functions/impl_trait_in_params.rs @@ -29,9 +29,6 @@ pub(super) fn check_fn<'tcx>(cx: &LateContext<'_>, kind: &'tcx FnKind<'_>, body: rustc_errors::SuggestionStyle::ShowAlways, ); } else { - // multispan.push_span_label(param.span, format!("Replace this with `{}`", - // next_letter)); - diag.span_suggestion_with_style( Span::new( body.params[0].span.lo() - rustc_span::BytePos(1),