]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/index_refutable_slice.rs
Fix adjacent code
[rust.git] / clippy_lints / src / index_refutable_slice.rs
index c7b5badaae51b0c21a392cc9762a65be80c63016..0d5099bde6de015b5aa069e5bdeb6611afd9d471 100644 (file)
@@ -207,8 +207,8 @@ fn new(ident: Ident, needs_ref: bool) -> Self {
     }
 }
 
-fn filter_lintable_slices<'a, 'tcx>(
-    cx: &'a LateContext<'tcx>,
+fn filter_lintable_slices<'tcx>(
+    cx: &LateContext<'tcx>,
     slice_lint_info: FxIndexMap<hir::HirId, SliceLintInformation>,
     max_suggested_slice: u64,
     scope: &'tcx hir::Expr<'tcx>,