Skip to content

Commit

Permalink
modify comment
Browse files Browse the repository at this point in the history
Signed-off-by: Shunpoco <[email protected]>
  • Loading branch information
Shunpoco committed Jan 22, 2025
1 parent 481ed2d commit 7275bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/builder/matches/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7275bdf

Please sign in to comment.