Skip to content

Commit

Permalink
Fix typo in simplify.rs
Browse files Browse the repository at this point in the history
prexisting -> preexisting
  • Loading branch information
eltociear committed Jan 18, 2021
1 parent 86e0ff4 commit 222e0e4
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 222e0e4

Please sign in to comment.