]> git.lizzy.rs Git - rust.git/commitdiff
Improve wording
authorCamelid <37223377+camelid@users.noreply.github.com>
Tue, 15 Sep 2020 16:50:55 +0000 (09:50 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Sep 2020 16:50:55 +0000 (09:50 -0700)
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
compiler/rustc_middle/src/mir/mod.rs

index 6f6585d383d5236747409ac424611a5903df8aed..e6bb746f618fb01e66da2bcc5ff75c7fbf93744f 100644 (file)
@@ -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].
     ///