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
@@ -85,7 +85,7 @@ impl<T: 'static> Storage<T> for UnsyncStorage {
}
thread_local! {
static UNSYNC_RUNTIME: RefCell<Vec<MemoryLocation<UnsyncStorage>>> = RefCell::new(Vec::new());
static UNSYNC_RUNTIME: RefCell<Vec<MemoryLocation<UnsyncStorage>>> = const { RefCell::new(Vec::new()) };
}
impl AnyStorage for UnsyncStorage {