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.
1 parent 5730482 commit 62d43d2Copy full SHA for 62d43d2
clippy_lints/src/matches/redundant_pattern_match.rs
@@ -68,7 +68,7 @@ fn temporaries_need_ordered_drop<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<
68
}
69
70
},
71
- // the base type is alway taken by reference.
+ // the base type is always taken by reference.
72
// e.g. In `(vec![0])[0]` the vector is a temporary value.
73
ExprKind::Index(base, index) => {
74
if !matches!(base.kind, ExprKind::Path(_)) {
0 commit comments