diff options
| author | Shunpoco <tkngsnsk313320@gmail.com> | 2025-01-22 02:42:11 +0000 |
|---|---|---|
| committer | Shunpoco <tkngsnsk313320@gmail.com> | 2025-01-22 02:42:11 +0000 |
| commit | 7275bdf6ec396d052b6dae8af8597b5eebf1f66f (patch) | |
| tree | f45854b092b62d5fa9f240f5aa63c2fb414751c6 | |
| parent | 481ed2d9319a28b770da60f4567e55f5cc053835 (diff) | |
| download | rust-7275bdf6ec396d052b6dae8af8597b5eebf1f66f.tar.gz rust-7275bdf6ec396d052b6dae8af8597b5eebf1f66f.zip | |
modify comment
Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com>
| -rw-r--r-- | compiler/rustc_mir_build/src/builder/matches/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/builder/matches/mod.rs b/compiler/rustc_mir_build/src/builder/matches/mod.rs index 430854974b3..b21ec8f3083 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; } |
