Skip to content

Commit

Permalink
Improve wording
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
camelid and Joshua Nelson committed Sep 15, 2020
1 parent a872ec4 commit c051f61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_middle/src/mir/mod.rs
Expand Up @@ -1078,12 +1078,12 @@ pub struct VarDebugInfo<'tcx> {
rustc_index::newtype_index! {
/// The unit of the MIR [control-flow graph][CFG].
///
/// There is no branching (e.g., `if`s, function calls, etc.) within a basic block, which makes
/// There are no branches (e.g., `if`s, function calls, etc.) within a basic block, which makes
/// it easier to do [data-flow analyses] and optimizations. Instead, branches are represented
/// as an edge in a graph between basic blocks.
///
/// Basic blocks consist of a series of [statements][`Statement`], ending with a
/// [terminator][`Terminator`]. Basic blocks can have multiple predecessors and successors.
/// Basic blocks consist of a series of [statements][Statement], ending with a
/// [terminator][Terminator]. Basic blocks can have multiple predecessors and successors.
///
/// Read more about basic blocks in the [rustc-dev-guide][guide-mir].
///
Expand Down

0 comments on commit c051f61

Please sign in to comment.