about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2018-01-29 01:49:29 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2018-01-29 01:49:29 +0200
commit46a9bdda78ead362b9bcef4146a7dadb698237ee (patch)
tree762250d4e8b981238105dff5a2e9b476298a625f /src/libsyntax_ext
parent06a0e4f7ae6d2e23adff1fe84e2a988f6b77fa53 (diff)
downloadrust-46a9bdda78ead362b9bcef4146a7dadb698237ee.tar.gz
rust-46a9bdda78ead362b9bcef4146a7dadb698237ee.zip
rustc: replace "lvalue" terminology with "place" in the code.
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/deriving/generic/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax_ext/deriving/generic/mod.rs b/src/libsyntax_ext/deriving/generic/mod.rs
index 3660d2fe46a..0dfe9cb970e 100644
--- a/src/libsyntax_ext/deriving/generic/mod.rs
+++ b/src/libsyntax_ext/deriving/generic/mod.rs
@@ -1439,7 +1439,7 @@ impl<'a> MethodDef<'a> {
                                                          &catch_all_substructure);
 
             // Final wrinkle: the self_args are expressions that deref
-            // down to desired l-values, but we cannot actually deref
+            // down to desired places, but we cannot actually deref
             // them when they are fed as r-values into a tuple
             // expression; here add a layer of borrowing, turning
             // `(*self, *__arg_0, ...)` into `(&*self, &*__arg_0, ...)`.
@@ -1516,7 +1516,7 @@ impl<'a> MethodDef<'a> {
         } else {
 
             // Final wrinkle: the self_args are expressions that deref
-            // down to desired l-values, but we cannot actually deref
+            // down to desired places, but we cannot actually deref
             // them when they are fed as r-values into a tuple
             // expression; here add a layer of borrowing, turning
             // `(*self, *__arg_0, ...)` into `(&*self, &*__arg_0, ...)`.