chore: update CI to clippy 1.77 (#6443)

This commit is contained in:
Siech0
2024-03-30 15:49:42 +09:00
committed by GitHub
parent 9c337ca1a3
commit 3936ebdfe4
7 changed files with 15 additions and 13 deletions
+2 -2
View File
@@ -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();