Skip to content

Commit 7275bdf

Browse files
committed
modify comment
Signed-off-by: Shunpoco <[email protected]>
1 parent 481ed2d commit 7275bdf

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir_build/src/builder/matches

1 file changed

+1
-1
lines changed

compiler/rustc_mir_build/src/builder/matches/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
20052005
let next_block = self.cfg.start_new_block();
20062006
candidate.pre_binding_block = Some(next_block);
20072007
candidate.otherwise_block = Some(next_block);
2008-
// In addition, if `candidate` should have `false_edge_start_block`.
2008+
// In addition, if `candidate` doesn't have `false_edge_start_block`, it should be assigned here.
20092009
if candidate.false_edge_start_block.is_none() {
20102010
candidate.false_edge_start_block = false_edge_start_block;
20112011
}

0 commit comments

Comments
 (0)