Skip to content

Commit 0d5b969

Browse files
committed
Add clippy ignore for macro expansion
1 parent adae056 commit 0d5b969

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/threadpool.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ static SPAWNING: AtomicBool = AtomicBool::new(false);
3030

3131
macro_rules! once {
3232
($args:block) => {
33+
#[allow(clippy::items_after_statements)]
3334
static __E: AtomicBool = AtomicBool::new(false);
3435
if !__E.compare_and_swap(false, true, Relaxed) {
3536
// only execute this once

0 commit comments

Comments
 (0)