1
Fork 0

rustc: replace "lvalue" terminology with "place" in the code.

This commit is contained in:
Eduard-Mihai Burtescu 2018-01-29 01:49:29 +02:00
parent 06a0e4f7ae
commit 46a9bdda78
27 changed files with 179 additions and 179 deletions

View file

@ -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, ...)`.