Re: [PATCH 1/2] rust: sync: arc: implement Arc<dyn Any + Send + Sync>::downcast()

From: Vincenzo Palazzo
Date: Wed Mar 01 2023 - 12:22:36 EST


> This mirrors the standard library's alloc::sync::Arc::downcast().
>
> Based on the Rust standard library implementation, ver 1.62.0,
> licensed under "Apache-2.0 OR MIT", from:
>
> https://github.com/rust-lang/rust/tree/1.62.0/library/alloc/src
>
> For copyright details, please see:
>
> https://github.com/rust-lang/rust/blob/1.62.0/COPYRIGHT
>
> Signed-off-by: Asahi Lina <lina@xxxxxxxxxxxxx>
> ---
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@xxxxxxxxx>