Skip to content

Commit 6210208

Browse files
committed
fix some typos
1 parent 56aba3c commit 6210208

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/mir/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,8 +1844,8 @@ rustc_index::newtype_index! {
18441844
/// A [newtype'd][wrapper] index type in the MIR [control-flow graph][CFG]
18451845
///
18461846
/// A field (e.g., `f` in `_1.f`) is one variant of [`ProjectionElem`]. Conceptually,
1847-
/// rustc can identify that a field projection refers to two different regions of memory
1848-
/// or the same one between the base and the projection element.
1847+
/// rustc can identify that a field projection refers to either two different regions of memory
1848+
/// or the same one between the base and the 'projection element'.
18491849
/// Read more about projections in the [rustc-dev-guide][mir-datatypes]
18501850
/// [wrapper]: https://rustc-dev-guide.rust-lang.org/appendix/glossary.html#newtype
18511851
/// [CFG]: https://rustc-dev-guide.rust-lang.org/appendix/background.html#cfg

0 commit comments

Comments
 (0)