Re: [PATCH v2] rust: alloc: allow coercion from `Box<T>` to `Box<dyn U>` if T implements U
From: Alice Ryhl
Date: Fri Apr 11 2025 - 08:28:15 EST
On Fri, Apr 11, 2025 at 2:07 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> This enables the creation of trait objects backed by a Box, similarly to
> what can be done with the standard library.
>
> Suggested-by: Benno Lossin <benno.lossin@xxxxxxxxx>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>