1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-21 05:05:44 +02:00

chore: clippy

This commit is contained in:
Rob Ede
2024-02-12 23:02:45 +00:00
parent 1e2ef6f92f
commit 022b052bd9
4 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
use std::cell::RefCell;
thread_local! {
static NOTIFY_DROPPED: RefCell<Option<bool>> = RefCell::new(None);
static NOTIFY_DROPPED: RefCell<Option<bool>> = const { RefCell::new(None) };
}
/// Check if the spawned task is dropped.