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 8d3bbb0 commit 67f0ba4Copy full SHA for 67f0ba4
clippy_lints/src/matches/redundant_guards.rs
@@ -123,7 +123,7 @@ fn get_pat_binding<'tcx>(
123
if matches!(bind_annot.0, rustc_ast::ByRef::Yes) {
124
let _ = byref_ident.insert(ident);
125
}
126
- // the second call of `replce()` returns a `Some(span)`, meaning a multi-binding pattern
+ // the second call of `replace()` returns a `Some(span)`, meaning a multi-binding pattern
127
if span.replace(pat.span).is_some() {
128
multiple_bindings = true;
129
return false;
0 commit comments