We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebdace9 commit dbc9380Copy full SHA for dbc9380
src/destructors.md
@@ -216,10 +216,6 @@ smallest scope that contains the expression and is one of the following:
216
217
> **Notes**:
218
>
219
-> Temporaries that are created in the final expression of a function
220
-> body are dropped *after* any named variables bound in the function body.
221
-> Their drop scope is the entire function, as there is no smaller enclosing temporary scope.
222
->
223
> The [scrutinee] of a `match` expression is not a temporary scope, so
224
> temporaries in the scrutinee can be dropped after the `match` expression. For
225
> example, the temporary for `1` in `match 1 { ref mut z => z };` lives until
0 commit comments