remove leading comma when there are no args in check macro expansion

This commit is contained in:
DebugSteven 2023-01-19 13:56:15 -07:00
parent 04a41f889f
commit a641b929ad

View File

@ -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);
}