mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
remove leading comma when there are no args in check macro expansion
This commit is contained in:
parent
04a41f889f
commit
a641b929ad
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user