diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-21 22:03:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-21 22:03:18 +0100 |
| commit | 9474c74fb6eec4e84ecf26b950c0e27c7cf5f448 (patch) | |
| tree | f2fe482fbfa3b345238e864dfdd2a30b6c819772 /compiler/rustc_mir_transform/src/coverage/tests.rs | |
| parent | ab19d4a515366ab68b73af3f9a55db52d5542a06 (diff) | |
| parent | 4de76184aa7b8257d44b7a9abf5f140727c84b48 (diff) | |
| download | rust-9474c74fb6eec4e84ecf26b950c0e27c7cf5f448.tar.gz rust-9474c74fb6eec4e84ecf26b950c0e27c7cf5f448.zip | |
Rollup merge of #93109 - JakobDegen:arc-docs, r=m-ou-se
Improve `Arc` and `Rc` documentation This makes two changes (I can split the PR if necessary, but the changes are pretty small): 1. A bunch of trait implementations claimed to be zero cost; however, they use the `Arc<T>: From<Box<T>>` impl which is definitely not free, especially for large dynamically sized `T`. 2. The code in deferred initialization examples unnecessarily used excessive amounts of `unsafe`. This has been reduced.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions
