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
Also added `assume_init` to `UniqueArc<MaybeUninit<T>>`. It assumes that
its contents have been initialized and returns `UniqueArc<T>`.
`try_new_uninit` is needed, because `try_new(MaybeUninit::uninit())`
actually allocates memory on the stack and may result in a stack
overflow if `T` is large in size. `try_new_uninit` has been implemented
in such a way that this cannot happen.
Signed-off-by: Benno Lossin <[email protected]>
0 commit comments