Improve wording
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
parent
a872ec4714
commit
c051f61d3c
1 changed files with 3 additions and 3 deletions
|
@ -1078,12 +1078,12 @@ pub struct VarDebugInfo<'tcx> {
|
||||||
rustc_index::newtype_index! {
|
rustc_index::newtype_index! {
|
||||||
/// The unit of the MIR [control-flow graph][CFG].
|
/// 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
|
/// it easier to do [data-flow analyses] and optimizations. Instead, branches are represented
|
||||||
/// as an edge in a graph between basic blocks.
|
/// as an edge in a graph between basic blocks.
|
||||||
///
|
///
|
||||||
/// Basic blocks consist of a series of [statements][`Statement`], ending with a
|
/// Basic blocks consist of a series of [statements][Statement], ending with a
|
||||||
/// [terminator][`Terminator`]. Basic blocks can have multiple predecessors and successors.
|
/// [terminator][Terminator]. Basic blocks can have multiple predecessors and successors.
|
||||||
///
|
///
|
||||||
/// Read more about basic blocks in the [rustc-dev-guide][guide-mir].
|
/// Read more about basic blocks in the [rustc-dev-guide][guide-mir].
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue