summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-09-14 18:56:22 -0700
committerJoshua Nelson <joshua@yottadb.com>2020-09-17 11:35:14 -0400
commitc72daace49a02ead50e0f648cf2d463ad267373d (patch)
treee1807c2e12fb5ab54c375a02cfe53c3310832387 /src/doc/rustc-dev-guide
parentd706ba09dbeec956cdbc19d5100038e6c227a3b2 (diff)
downloadrust-c72daace49a02ead50e0f648cf2d463ad267373d.tar.gz
rust-c72daace49a02ead50e0f648cf2d463ad267373d.zip
Mention that places are sometimes called "lvalues"
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/index.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/index.md b/src/doc/rustc-dev-guide/src/mir/index.md
index f771fa0ede5..fd55046ec8d 100644
--- a/src/doc/rustc-dev-guide/src/mir/index.md
+++ b/src/doc/rustc-dev-guide/src/mir/index.md
@@ -44,7 +44,8 @@ This section introduces the key concepts of MIR, summarized here:
   leading underscore, like `_1`. There is also a special "local"
   (`_0`) allocated to store the return value.
 - **Places:** expressions that identify a location in memory, like `_1` or
-  `_1.f`.
+  `_1.f`. (Some people call these "lvalues"; the "l" meaning that they occur on
+  the left-hand side of an assignment.)
 - **Rvalues:** expressions that produce a value. The "R" stands for
   the fact that these are the "right-hand side" of an assignment.
   - **Operands:** the arguments to an rvalue, which can either be a