Skip to content

Commit 13b814f

Browse files
committed
coverage: Tweak comments in graph
1 parent 4f1be92 commit 13b814f

File tree

1 file changed

+4
-4
lines changed
  • compiler/rustc_mir_transform/src/coverage

1 file changed

+4
-4
lines changed

compiler/rustc_mir_transform/src/coverage/graph.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ fn bcb_filtered_successors<'a, 'tcx>(terminator: &'a Terminator<'tcx>) -> Covera
341341
| FalseUnwind { real_target: target, .. }
342342
| Goto { target } => CoverageSuccessors::Chainable(target),
343343

344-
// A call terminator can normally be chained, except when they have no
345-
// successor because they are known to diverge.
344+
// A call terminator can normally be chained, except when it has no
345+
// successor because it is known to diverge.
346346
Call { target: maybe_target, .. } => match maybe_target {
347347
Some(target) => CoverageSuccessors::Chainable(target),
348348
None => CoverageSuccessors::NotChainable(&[]),
349349
},
350350

351-
// An inline asm terminator can normally be chained, except when it diverges or uses asm
352-
// goto.
351+
// An inline asm terminator can normally be chained, except when it
352+
// diverges or uses asm goto.
353353
InlineAsm { ref targets, .. } => {
354354
if let [target] = targets[..] {
355355
CoverageSuccessors::Chainable(target)

0 commit comments

Comments
 (0)