about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2020-10-25 20:54:44 +0100
committerLeSeulArtichaut <leseulartichaut@gmail.com>2020-10-25 20:54:44 +0100
commit9de15188b018cc2891cac00c4c5b19b95cc63c7d (patch)
tree6d23a292a44bab219f0dc44e47b6f62b5a5f9490
parent430feb24a46993e5073c1bb1b39da190d83fa2bf (diff)
downloadrust-9de15188b018cc2891cac00c4c5b19b95cc63c7d.tar.gz
rust-9de15188b018cc2891cac00c4c5b19b95cc63c7d.zip
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);