use drop-temps { .. } pseudo-notation

DropTemps(...) looks like a function, this looks like wacko special stuff
This commit is contained in:
Niko Matsakis 2019-09-17 04:44:35 -04:00
parent 0a11e80fa8
commit 716b2bcfb3

View file

@ -351,7 +351,7 @@ impl LoweringContext<'_> {
//
// ```
// 'label: loop {
// match DropTemps($cond) {
// match drop-temps { $cond } {
// true => $body,
// _ => break,
// }