diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-14 16:23:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-14 16:23:33 +0100 |
| commit | 145e35a6e32348dc83629a08a37e6a0ff8e16668 (patch) | |
| tree | 6656fb8d1db0976d06036c6df7c539a186c5c044 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | b5fce2ab8e8d08d881df3dec7a13ab174e0762d2 (diff) | |
| parent | 2f27236745fab41c73450cdb31cdf9d0db502dda (diff) | |
| download | rust-145e35a6e32348dc83629a08a37e6a0ff8e16668.tar.gz rust-145e35a6e32348dc83629a08a37e6a0ff8e16668.zip | |
Rollup merge of #136976 - jedbrown:jed/doc-boxed-deferred-init, r=tgross35
alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr In the deferred initialization pattern, the docs were needlessly going through `as_mut_ptr().write()` to initialize, which is unnecessary use of a pointer, needs to be inside an `unsafe` block, and may weaken alias analysis.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
