Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
cssivision committed Mar 29, 2024
1 parent eda6233 commit 26edbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn block_on<T>(future: impl Future<Output = T>) -> T {
let (p, u) = parking::pair();
let io_blocked = Arc::new(AtomicBool::new(false));
thread_local! {
static IO_POLLING: Cell<bool> = Cell::new(false);
static IO_POLLING: Cell<bool> = const { Cell::new(false) };
}
let waker = waker_fn({
let io_blocked = io_blocked.clone();
Expand Down

0 comments on commit 26edbfa

Please sign in to comment.