Skip to content

Commit 5495708

Browse files
committed
silence clippy warning
1 parent 6e56425 commit 5495708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/block_on.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn simple_block_on<F: Future>(f: F) -> F::Output {
2424
}
2525

2626
thread_local! {
27-
static BUSY: AtomicBool = AtomicBool::new(false);
27+
static BUSY: AtomicBool = const { AtomicBool::new(false) };
2828
}
2929

3030
struct EnterGuard;

0 commit comments

Comments
 (0)