Re: [PATCH v3 02/13] rust: sync: add `assume_init` to `UniqueArc`
From: Wedson Almeida Filho
Date: Thu Mar 30 2023 - 00:13:48 EST
On Wed, 29 Mar 2023 at 19:33, <y86-dev@xxxxxxxxxxxxxx> wrote:
>
> From: Benno Lossin <y86-dev@xxxxxxxxxxxxxx>
>
> Adds the `assume_init` function to `UniqueArc<MaybeUninit<T>>` that
> unsafely assumes the value to be initialized and yields a value of type
> `UniqueArc<T>`. This function is used when manually initializing the
> pointee of an `UniqueArc`.
>
> Signed-off-by: Benno Lossin <y86-dev@xxxxxxxxxxxxxx>
Reviewed-by: Wedson Almeida Filho <walmeida@xxxxxxxxxxxxx>