Re: [PATCH v19 3/8] rust: implement `ForeignOwnable` for `Owned`

From: Alice Ryhl

Date: Tue Jul 07 2026 - 09:10:52 EST


On Fri, Jun 26, 2026 at 1:55 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>
> Implement `ForeignOwnable` for `Owned<T>`. This allows use of `Owned<T>` in
> places such as the `XArray`.
>
> Note that `T` does not need to implement `ForeignOwnable` for `Owned<T>` to
> implement `ForeignOwnable`.
>
> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
> Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>