Make clippy happy

This commit is contained in:
Michael Goulet 2023-02-23 02:46:49 +00:00
parent e5df17aae5
commit 9fd0a415bb
8 changed files with 10 additions and 10 deletions

View file

@ -224,7 +224,7 @@ fn never_loop_expr(expr: &Expr<'_>, ignore_ids: &mut Vec<HirId>, main_loop_id: H
| ExprKind::Path(_)
| ExprKind::ConstBlock(_)
| ExprKind::Lit(_)
| ExprKind::Err => NeverLoopResult::Otherwise,
| ExprKind::Err(_) => NeverLoopResult::Otherwise,
}
}