Skip to content

Commit c051f61

Browse files
camelidJoshua Nelson
and
Joshua Nelson
authored
Improve wording
Co-authored-by: Joshua Nelson <[email protected]>
1 parent a872ec4 commit c051f61

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+3
-3
lines changed

compiler/rustc_middle/src/mir/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,12 @@ pub struct VarDebugInfo<'tcx> {
10781078
rustc_index::newtype_index! {
10791079
/// The unit of the MIR [control-flow graph][CFG].
10801080
///
1081-
/// There is no branching (e.g., `if`s, function calls, etc.) within a basic block, which makes
1081+
/// There are no branches (e.g., `if`s, function calls, etc.) within a basic block, which makes
10821082
/// it easier to do [data-flow analyses] and optimizations. Instead, branches are represented
10831083
/// as an edge in a graph between basic blocks.
10841084
///
1085-
/// Basic blocks consist of a series of [statements][`Statement`], ending with a
1086-
/// [terminator][`Terminator`]. Basic blocks can have multiple predecessors and successors.
1085+
/// Basic blocks consist of a series of [statements][Statement], ending with a
1086+
/// [terminator][Terminator]. Basic blocks can have multiple predecessors and successors.
10871087
///
10881088
/// Read more about basic blocks in the [rustc-dev-guide][guide-mir].
10891089
///

0 commit comments

Comments
 (0)