From 7275bdf6ec396d052b6dae8af8597b5eebf1f66f Mon Sep 17 00:00:00 2001 From: Shunpoco Date: Wed, 22 Jan 2025 02:42:11 +0000 Subject: [PATCH] modify comment Signed-off-by: Shunpoco --- compiler/rustc_mir_build/src/builder/matches/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir_build/src/builder/matches/mod.rs b/compiler/rustc_mir_build/src/builder/matches/mod.rs index 430854974b38e..b21ec8f3083b3 100644 --- a/compiler/rustc_mir_build/src/builder/matches/mod.rs +++ b/compiler/rustc_mir_build/src/builder/matches/mod.rs @@ -2005,7 +2005,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { let next_block = self.cfg.start_new_block(); candidate.pre_binding_block = Some(next_block); candidate.otherwise_block = Some(next_block); - // In addition, if `candidate` should have `false_edge_start_block`. + // In addition, if `candidate` doesn't have `false_edge_start_block`, it should be assigned here. if candidate.false_edge_start_block.is_none() { candidate.false_edge_start_block = false_edge_start_block; }