rustc: replace "lvalue" terminology with "place" in the code.
This commit is contained in:
parent
06a0e4f7ae
commit
46a9bdda78
27 changed files with 179 additions and 179 deletions
|
@ -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, ...)`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue