mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
chore: update CI to clippy 1.77 (#6443)
This commit is contained in:
@@ -1089,7 +1089,7 @@ rt_test! {
|
||||
use std::thread;
|
||||
|
||||
thread_local!(
|
||||
static R: RefCell<Option<Runtime>> = RefCell::new(None);
|
||||
static R: RefCell<Option<Runtime>> = const { RefCell::new(None) };
|
||||
);
|
||||
|
||||
thread::spawn(|| {
|
||||
@@ -1402,7 +1402,7 @@ rt_test! {
|
||||
}
|
||||
|
||||
std::thread_local! {
|
||||
static TL_DATA: RefCell<Option<TLData>> = RefCell::new(None);
|
||||
static TL_DATA: RefCell<Option<TLData>> = const { RefCell::new(None) };
|
||||
};
|
||||
|
||||
let (send, recv) = channel();
|
||||
|
||||
Reference in New Issue
Block a user