fix some clippy lints

This commit is contained in:
Evan Almloff committed 2024-02-05 08:17:25 -06:00
1 parent 91fea15cdc
commit 356497df4e
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ use std::{
};
thread_local! {
static RUNTIMES: RefCell<Vec<Rc<Runtime>>> = RefCell::new(vec![]);
static RUNTIMES: RefCell<Vec<Rc<Runtime>>> = const { RefCell::new(vec![]) };
}
/// A global runtime that is shared across all scopes that provides the async runtime and context API