Messages in this thread | | | From | Andreas Hindborg <> | Subject | Re: [PATCH v3 02/13] rust: sync: add `assume_init` to `UniqueArc` | Date | Thu, 30 Mar 2023 14:18:06 +0200 |
| |
y86-dev@protonmail.com writes:
> From: Benno Lossin <y86-dev@protonmail.com> > > 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@protonmail.com> > ---
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
| |