diff options
| author | Dániel Buga <bugadani@gmail.com> | 2020-07-26 20:18:12 +0200 |
|---|---|---|
| committer | Dániel Buga <bugadani@gmail.com> | 2020-08-16 20:27:54 +0200 |
| commit | a7083eea1c8821ff187218f55a1ac17b0f2c0fcb (patch) | |
| tree | 02470bd9878ced6c1d7227b3aa3cd1a760284424 | |
| parent | 75637c1edac6db37b3c8aa17ef6b5a91db699a00 (diff) | |
| download | rust-a7083eea1c8821ff187218f55a1ac17b0f2c0fcb.tar.gz rust-a7083eea1c8821ff187218f55a1ac17b0f2c0fcb.zip | |
Removed the extra lifetime parameter
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 463ef48f62c..6693c358a02 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -2710,8 +2710,8 @@ fn lint_map_flatten<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'_>, map /// lint use of `<fn>_else(simple closure)` for `Option`s and `Result`s that can be /// replaced with `<fn>(return value of simple closure)` -fn lint_lazy_eval<'a, 'tcx>( - cx: &LateContext<'a, 'tcx>, +fn lint_lazy_eval<'tcx>( + cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'_>, args: &'tcx [hir::Expr<'_>], allow_variant_calls: bool, |
