about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDebugSteven <debugsteven@gmail.com>2023-01-19 13:56:15 -0700
committerDebugSteven <debugsteven@gmail.com>2023-01-20 10:10:47 -0700
commita641b929ad35e262ed6d0e0e275b291da26a588a (patch)
treea5664e57451b1147910e22cb151b9d1947377874
parent04a41f889f563b2384c63c990b5423d201d62ebd (diff)
remove leading comma when there are no args in check macro expansion
-rw-r--r--src/tools/tidy/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
index 0b9a1b37e94..17cba0f6ccd 100644
--- a/src/tools/tidy/src/main.rs
+++ b/src/tools/tidy/src/main.rs
@@ -60,7 +60,7 @@ fn main() {
 
                 let handle = s.spawn(|| {
                     let mut flag = false;
-                    $p::check($($args),* , &mut flag);
+                    $p::check($($args, )* &mut flag);
                     if (flag) {
                         bad.store(true, Ordering::Relaxed);
                     }