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
At least for inline_lazy, the Option<T> can be wrapped in Cell, needing only:
unsafeimpl<T:Sync>SyncforLazy<T>{}
Then we can just have a regular static and get can take &'static selfsafely.
EDIT: As noted below (#117 (comment)), the use of &'static mut Lazy<T> is unsound.
Also, the impl above exists already, UB was introduced by regression at a308da1.