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 6e56425 commit 5495708Copy full SHA for 5495708
src/util/block_on.rs
@@ -24,7 +24,7 @@ pub fn simple_block_on<F: Future>(f: F) -> F::Output {
24
}
25
26
thread_local! {
27
- static BUSY: AtomicBool = AtomicBool::new(false);
+ static BUSY: AtomicBool = const { AtomicBool::new(false) };
28
29
30
struct EnterGuard;
0 commit comments