diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-03-16 09:40:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 09:40:01 +0800 |
| commit | 4946818306fd71d0b1990b53ea616ff3da57153a (patch) | |
| tree | c134f89318cf6d9d344d69492b1d757161ac2f02 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9f274ba3997030a2b7656755a6810fd26cb709f3 (diff) | |
| parent | 96814ae55fd6201159ca00d79b79d9aae54cba0a (diff) | |
| download | rust-4946818306fd71d0b1990b53ea616ff3da57153a.tar.gz rust-4946818306fd71d0b1990b53ea616ff3da57153a.zip | |
Rollup merge of #133055 - kpreid:clone-uninit-doc, r=Mark-Simulacrum
Expand `CloneToUninit` documentation. * Clarify relationship to `dyn` after #133003. * Add an example of using it with `dyn` as #133003 enabled. * Replace parameter name `dst` with `dest` to avoid confusion between abbreviations for “DeSTination” and “Dynamically-Sized Type”. * Add an example of implementing it. * Add links to Rust Reference for the mentioned concepts. * Mention that its method should rarely be called. * Various small corrections. Please review the `unsafe` code closely, as I am not an expert in the best possible ways to express these operations. (It might also be better to omit the implementation example entirely.) cc `@zachs18` #126799
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
