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.
2 parents 2c95105 + e177dd0 commit 507183dCopy full SHA for 507183d
clippy_lints/src/unnested_or_patterns.rs
@@ -426,7 +426,7 @@ fn drain_matching(
426
// Check if we should extract, but only if `idx >= start`.
427
if idx > start && predicate(&alternatives[i].kind) {
428
let pat = alternatives.remove(i);
429
- tail_or.push(extract(pat.into_inner().kind));
+ tail_or.push(extract(pat.kind));
430
} else {
431
i += 1;
432
}
0 commit comments