@@ -116,7 +116,7 @@ the remaining situations if that type is [`Sized`], then it may be possible to
116
116
move the value. Only the following place expressions may be moved out of:
117
117
118
118
* [ Variables] which are not currently borrowed.
119
- * [ Temporary values] ( #temporary-lifetimes ) .
119
+ * [ Temporary values] ( #temporaries ) .
120
120
* [ Fields] [ field ] of a place expression which can be moved out of and
121
121
doesn't implement [ ` Drop ` ] .
122
122
* The result of [ dereferencing] an expression with type [ ` Box<T> ` ] and that can
@@ -154,9 +154,8 @@ The following expressions can be mutable place expression contexts:
154
154
155
155
When using a value expression in most place expression contexts, a temporary
156
156
unnamed memory location is created initialized to that value and the expression
157
- evaluates to that location instead, except if [ promoted] ( #constant-promotion )
158
- to a ` static ` . The [ drop scope] of the temporary is usually the end of the
159
- enclosing statement.
157
+ evaluates to that location instead, except if [ promoted] to a ` static ` . The
158
+ [ drop scope] of the temporary is usually the end of the enclosing statement.
160
159
161
160
### Implicit Borrows
162
161
@@ -249,10 +248,11 @@ They are never allowed before:
249
248
[ interior mutability ] : interior-mutability.html
250
249
[ let statement ] : statements.html#let-statements
251
250
[ Mutable `static` items ] : items/static-items.html#mutable-statics
251
+ [ promoted ] : destructors.html#constant-promotion
252
252
[ slice ] : types/slice.html
253
253
[ statement ] : statements.html
254
254
[ static variables ] : items/static-items.html
255
- [ Temporary values ] : #temporary-lifetimes
255
+ [ Temporary values ] : #temporaries
256
256
[ Variables ] : variables.html
257
257
258
258
[ _ArithmeticOrLogicalExpression_ ] : expressions/operator-expr.html#arithmetic-and-logical-binary-operators
0 commit comments