From a641b929ad35e262ed6d0e0e275b291da26a588a Mon Sep 17 00:00:00 2001 From: DebugSteven Date: Thu, 19 Jan 2023 13:56:15 -0700 Subject: [PATCH] remove leading comma when there are no args in check macro expansion --- src/tools/tidy/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs index 0b9a1b37e947e..17cba0f6ccd4e 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); }