Commit 697bd0c
Mention the temporary scope of
I'm not an expert here, but because `while let` is a loop, it *has to*
drop temporaries when it loops, so it must have at least one temporary
scope, and empirically, the same scope includes the scrutinee and the
body because the body can use temporaries from the scrutinee.while let
1 parent acd0231 commit 697bd0c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
0 commit comments