Skip to content

Commit

Permalink
Rollup merge of #81164 - eltociear:patch-5, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in simplify.rs

prexisting -> preexisting
  • Loading branch information
GuillaumeGomez committed Jan 19, 2021
2 parents 1f777f3 + 222e0e4 commit 2f1d5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/build/matches/simplify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
// * 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]
Expand Down

0 comments on commit 2f1d5c4

Please sign in to comment.