1
0
Fork 0
forked from wry/wry

all: remove once_cell dependency

This commit is contained in:
Julian Orth 2026-03-30 12:30:26 +02:00
parent c50242562a
commit 41ef632a15
10 changed files with 34 additions and 32 deletions

View file

@ -1,6 +1,6 @@
use {ahash::AHashMap, once_cell::sync::Lazy};
use {ahash::AHashMap, std::sync::LazyLock};
static BUGS: Lazy<AHashMap<&'static str, Bugs>> = Lazy::new(|| {
static BUGS: LazyLock<AHashMap<&'static str, Bugs>> = LazyLock::new(|| {
let mut map = AHashMap::new();
map.insert(
"chromium",