[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANeycqprth29MGQsAYHkQKAoCBr_C0J010VTvs1YK-Yg+pY+0Q@mail.gmail.com>
Date: Thu, 30 Mar 2023 01:13:31 -0300
From: Wedson Almeida Filho <wedsonaf@...il.com>
To: y86-dev@...tonmail.com
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Alice Ryhl <alice@...l.io>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev
Subject: Re: [PATCH v3 02/13] rust: sync: add `assume_init` to `UniqueArc`
On Wed, 29 Mar 2023 at 19:33, <y86-dev@...tonmail.com> wrote:
>
> From: Benno Lossin <y86-dev@...tonmail.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@...tonmail.com>
Reviewed-by: Wedson Almeida Filho <walmeida@...rosoft.com>
Powered by blists - more mailing lists