Skip to content

Commit a641b92

Browse files
committed
remove leading comma when there are no args in check macro expansion
1 parent 04a41f8 commit a641b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn main() {
6060

6161
let handle = s.spawn(|| {
6262
let mut flag = false;
63-
$p::check($($args),* , &mut flag);
63+
$p::check($($args, )* &mut flag);
6464
if (flag) {
6565
bad.store(true, Ordering::Relaxed);
6666
}

0 commit comments

Comments
 (0)