diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-09-14 18:56:22 -0700 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2020-09-17 11:35:14 -0400 |
| commit | c72daace49a02ead50e0f648cf2d463ad267373d (patch) | |
| tree | e1807c2e12fb5ab54c375a02cfe53c3310832387 /src/doc/rustc-dev-guide | |
| parent | d706ba09dbeec956cdbc19d5100038e6c227a3b2 (diff) | |
| download | rust-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.md | 3 |
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 |
