cuprate
cuprate copied to clipboard
Replace `OnceLock` + `fn` with `LazyLock`
What
Closes https://github.com/Cuprate/cuprate/issues/236.
This replaces the OnceLock
+ fn
s that were used in a LazyLock
type of way for the entire codebase. There's other OnceLock
s remaining but they are used differently.