Skip to content

Commit a7083ee

Browse files
committed
Removed the extra lifetime parameter
1 parent 75637c1 commit a7083ee

File tree

1 file changed

+2
-2
lines changed
  • clippy_lints/src/methods

1 file changed

+2
-2
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,8 +2710,8 @@ fn lint_map_flatten<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'_>, map
27102710

27112711
/// lint use of `<fn>_else(simple closure)` for `Option`s and `Result`s that can be
27122712
/// replaced with `<fn>(return value of simple closure)`
2713-
fn lint_lazy_eval<'a, 'tcx>(
2714-
cx: &LateContext<'a, 'tcx>,
2713+
fn lint_lazy_eval<'tcx>(
2714+
cx: &LateContext<'tcx>,
27152715
expr: &'tcx hir::Expr<'_>,
27162716
args: &'tcx [hir::Expr<'_>],
27172717
allow_variant_calls: bool,

0 commit comments

Comments
 (0)