diff options
| author | Asahi Lina <[email protected]> | 2023-04-03 10:01:11 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-04-10 21:55:43 +0000 |
| commit | 1edd03378e50ff1071004c80cb878e4bad73a68f (patch) | |
| tree | ccd32bd6275976b743750e3c6aa454bcf4d906d0 /rust/macros/module.rs | |
| parent | rust: macros: Allow specifying multiple module aliases (diff) | |
| download | kernel-1edd03378e50ff1071004c80cb878e4bad73a68f.tar.gz kernel-1edd03378e50ff1071004c80cb878e4bad73a68f.zip | |
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/src
For copyright details, please see:
https://github.com/rust-lang/rust/blob/1.62.0/COPYRIGHT
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Reviewed-by: Vincenzo Palazzo <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Signed-off-by: Asahi Lina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Moved `mod std_vendor;` up. ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions
