Switch to std::sync::LazyLock
#441
Labels
blocked
Blocked on something else, cannot be worked on yet
good first issue
These issues are a good way to get started with Lofty
Usage of
once_cell::sync::Lazy
was replaced withstd::sync::OnceLock
awhile ago:lofty-rs/lofty/src/id3/v2/util/upgrade.rs
Lines 41 to 52 in 1505ddf
In 1.80.0,
std::sync::LazyLock
was finally stabilized. Now in that example, we can just go back to usingV2_KEYS
directly instead of having functions to access it.This is blocked right now since 1.80.0 just came out and it really isn't that important to do anyway.
The text was updated successfully, but these errors were encountered: