Skip to content

Commit 222e0e4

Browse files
authored
Fix typo in simplify.rs
prexisting -> preexisting
1 parent 86e0ff4 commit 222e0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_mir_build/src/build/matches/simplify.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
5555
// * the bindings from the previous iteration of the loop is prepended to the bindings from
5656
// the current iteration (in the implementation this is done by mem::swap and extend)
5757
// * after all iterations, these new bindings are then appended to the bindings that were
58-
// prexisting (i.e. `candidate.binding` when the function was called).
58+
// preexisting (i.e. `candidate.binding` when the function was called).
5959
//
6060
// example:
6161
// candidate.bindings = [1, 2, 3]

0 commit comments

Comments
 (0)