Skip to content

Commit 82c0168

Browse files
committed
fix terminator edges comments
1 parent 6baa65e commit 82c0168

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: compiler/rustc_middle/src/mir/terminator.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,11 @@ impl<'tcx> TerminatorKind<'tcx> {
581581
pub enum TerminatorEdges<'mir, 'tcx> {
582582
/// For terminators that have no successor, like `return`.
583583
None,
584-
/// For terminators that a single successor, like `goto`, and `assert` without cleanup block.
584+
/// For terminators that have a single successor, like `goto`, and `assert` without a cleanup
585+
/// block.
585586
Single(BasicBlock),
586-
/// For terminators that two successors, `assert` with cleanup block and `falseEdge`.
587+
/// For terminators that have two successors, like `assert` with a cleanup block, and
588+
/// `falseEdge`.
587589
Double(BasicBlock, BasicBlock),
588590
/// Special action for `Yield`, `Call` and `InlineAsm` terminators.
589591
AssignOnReturn {

0 commit comments

Comments
 (0)