We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elided_named_lifetimes
1 parent 43e1145 commit 3c4367aCopy full SHA for 3c4367a
clippy_lints/src/unused_io_amount.rs
@@ -235,7 +235,7 @@ fn unpack_match<'a>(mut expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a> {
235
236
/// If `expr` is an (e).await, return the inner expression "e" that's being
237
/// waited on. Otherwise return None.
238
-fn unpack_await<'a>(expr: &'a hir::Expr<'a>) -> &hir::Expr<'a> {
+fn unpack_await<'a>(expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a> {
239
if let ExprKind::Match(expr, _, hir::MatchSource::AwaitDesugar) = expr.kind {
240
if let ExprKind::Call(func, [ref arg_0, ..]) = expr.kind {
241
if matches!(
0 commit comments