diff options
| author | bors <bors@rust-lang.org> | 2023-07-10 13:26:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-10 13:26:42 +0000 |
| commit | 05b82e551e781154ad2af8a72f34712e97206859 (patch) | |
| tree | 2bdebd9bc77b4d81da3cd8b65a20fc6012498383 /compiler/rustc_codegen_cranelift/example/alloc_example.rs | |
| parent | 55e8df2b0e3c4494b77f2431b912c51e6fe733ba (diff) | |
| parent | 11fecf619aabd1f3d9a015b925bf0deedc7092e9 (diff) | |
| download | rust-05b82e551e781154ad2af8a72f34712e97206859.tar.gz rust-05b82e551e781154ad2af8a72f34712e97206859.zip | |
Auto merge of #94748 - tbu-:pr_file_arc, r=Amanieu
Add `Read`, `Write` and `Seek` impls for `Arc<File>` where appropriate If `&T` implements these traits, `Arc<T>` has no reason not to do so either. This is useful for operating system handles like `File` or `TcpStream` which don't need a mutable reference to implement these traits. CC #53835. CC #94744.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
