mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Rollup merge of #81164 - eltociear:patch-5, r=jonas-schievink
Fix typo in simplify.rs prexisting -> preexisting
This commit is contained in:
@@ -55,7 +55,7 @@ pub(super) fn simplify_candidate<'pat>(
|
||||
// * the bindings from the previous iteration of the loop is prepended to the bindings from
|
||||
// the current iteration (in the implementation this is done by mem::swap and extend)
|
||||
// * after all iterations, these new bindings are then appended to the bindings that were
|
||||
// prexisting (i.e. `candidate.binding` when the function was called).
|
||||
// preexisting (i.e. `candidate.binding` when the function was called).
|
||||
//
|
||||
// example:
|
||||
// candidate.bindings = [1, 2, 3]
|
||||
|
||||
Reference in New Issue
Block a user