1
Fork 0

Use OnceLock for SingleCache

This commit is contained in:
John Kåre Alsaker 2023-09-01 01:14:33 +02:00
parent 91942134c6
commit 90f5f94699
6 changed files with 21 additions and 21 deletions

View file

@ -273,7 +273,7 @@ cfg_if! {
pub use std::cell::RefMut as MappedWriteGuard;
pub use std::cell::RefMut as MappedLockGuard;
pub use std::cell::OnceCell;
pub use std::cell::OnceCell as OnceLock;
use std::cell::RefCell as InnerRwLock;
@ -327,7 +327,7 @@ cfg_if! {
pub use parking_lot::MappedMutexGuard as MappedLockGuard;
pub use std::sync::OnceLock as OnceCell;
pub use std::sync::OnceLock;
pub use std::sync::atomic::{AtomicBool, AtomicUsize, AtomicU32, AtomicU64};