about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-19 10:28:00 +0100
committerGitHub <noreply@github.com>2021-01-19 10:28:00 +0100
commit2f1d5c4d40bca9ffd5c347bc9b3ec854bf115d77 (patch)
tree9a5d06695a759de3e4471e2bdc20589f01694e8c
parent1f777f36e836231fe661e114995e933ee1740fb2 (diff)
parent222e0e4fe21d0152e2f7e6bce05e7023736bda33 (diff)
downloadrust-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.rs2
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]