about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-27 08:45:14 +0900
committerGitHub <noreply@github.com>2020-10-27 08:45:14 +0900
commitb72d70ef6187f533cb2833fd095d172b59e05f9b (patch)
treee984f218a8e73d73dddc618185cf369f386ccf90
parent5a33fa5179ea5aff741285215cdb9555b8c794dc (diff)
parent9de15188b018cc2891cac00c4c5b19b95cc63c7d (diff)
downloadrust-b72d70ef6187f533cb2833fd095d172b59e05f9b.tar.gz
rust-b72d70ef6187f533cb2833fd095d172b59e05f9b.zip
Rollup merge of #78377 - LeSeulArtichaut:patch-docs, r=jonas-schievink
Fix typo in debug statement
-rw-r--r--compiler/rustc_mir_build/src/build/matches/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs
index b7bd67fea06..3ee15248ae2 100644
--- a/compiler/rustc_mir_build/src/build/matches/mod.rs
+++ b/compiler/rustc_mir_build/src/build/matches/mod.rs
@@ -231,7 +231,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
         let arm_end_blocks: Vec<_> = arm_candidates
             .into_iter()
             .map(|(arm, candidate)| {
-                debug!("lowering arm {:?}\ncanidate = {:?}", arm, candidate);
+                debug!("lowering arm {:?}\ncandidate = {:?}", arm, candidate);
 
                 let arm_source_info = self.source_info(arm.span);
                 let arm_scope = (arm.scope, arm_source_info);