rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()This mirrors the standard library's alloc::sync::Arc::downcast().Based on the Rust standard library implementation, ver 1.62.0,li
rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()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/srcFor copyright details, please see: https://github.com/rust-lang/rust/blob/1.62.0/COPYRIGHTReviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>Reviewed-by: Gary Guo <gary@garyguo.net>Signed-off-by: Asahi Lina <lina@asahilina.net>Link: https://lore.kernel.org/r/20230224-rust-arc-v2-1-5c97a865b276@asahilina.net[ Moved `mod std_vendor;` up. ]Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
show more ...