From 222e0e4fe21d0152e2f7e6bce05e7023736bda33 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 18 Jan 2021 20:52:10 +0900 Subject: [PATCH] Fix typo in simplify.rs prexisting -> preexisting --- compiler/rustc_mir_build/src/build/matches/simplify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir_build/src/build/matches/simplify.rs b/compiler/rustc_mir_build/src/build/matches/simplify.rs index 705266d4a0bd8..f30745d71859d 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]