We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adae056 commit 0d5b969Copy full SHA for 0d5b969
src/threadpool.rs
@@ -30,6 +30,7 @@ static SPAWNING: AtomicBool = AtomicBool::new(false);
30
31
macro_rules! once {
32
($args:block) => {
33
+ #[allow(clippy::items_after_statements)]
34
static __E: AtomicBool = AtomicBool::new(false);
35
if !__E.compare_and_swap(false, true, Relaxed) {
36
// only execute this once
0 commit comments