diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-01-19 10:28:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 10:28:00 +0100 |
| commit | 2f1d5c4d40bca9ffd5c347bc9b3ec854bf115d77 (patch) | |
| tree | 9a5d06695a759de3e4471e2bdc20589f01694e8c | |
| parent | 1f777f36e836231fe661e114995e933ee1740fb2 (diff) | |
| parent | 222e0e4fe21d0152e2f7e6bce05e7023736bda33 (diff) | |
| download | rust-2f1d5c4d40bca9ffd5c347bc9b3ec854bf115d77.tar.gz rust-2f1d5c4d40bca9ffd5c347bc9b3ec854bf115d77.zip | |
Rollup merge of #81164 - eltociear:patch-5, r=jonas-schievink
Fix typo in simplify.rs prexisting -> preexisting
| -rw-r--r-- | compiler/rustc_mir_build/src/build/matches/simplify.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/matches/simplify.rs b/compiler/rustc_mir_build/src/build/matches/simplify.rs index 705266d4a0b..f30745d7185 100644 --- a/compiler/rustc_mir_build/src/build/matches/simplify.rs +++ b/compiler/rustc_mir_build/src/build/matches/simplify.rs @@ -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] |
