Skip to content

Commit 716b2bc

Browse files
committed
use drop-temps { .. } pseudo-notation
DropTemps(...) looks like a function, this looks like wacko special stuff
1 parent 0a11e80 commit 716b2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/lowering/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ impl LoweringContext<'_> {
351351
//
352352
// ```
353353
// 'label: loop {
354-
// match DropTemps($cond) {
354+
// match drop-temps { $cond } {
355355
// true => $body,
356356
// _ => break,
357357
// }

0 commit comments

Comments
 (0)