You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark initialization of OnceBox::get_or_try_init cold.
Use `Self::get()` instead of directly loading the value, which is a
DRY improvement in its own right.
Then it is trivial to split out the initialization into a `#[cold]`
function, matching `OnceNonZeroUsize`.
0 commit comments