Replace lazy_static
with OnceLock
#5641
Labels
C2-good-first-issue
A task for a first time contributor to become familiar with the Polkadot-SDK.
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
We should be able to replace all
lazy_static
usages withOnceLock
from the Rust standard library. This will bring us less dependencies. The lazy_static README gives an example on how to do this.The text was updated successfully, but these errors were encountered: