about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-11-14 10:43:04 -0800
committerKevin Reid <kpreid@switchb.org>2025-03-07 19:46:23 -0800
commit769425a4eaca0dff46b22df5ab38580f5d64428f (patch)
tree0f3e56dd5c9629bf243a2af7f816cb3bd7c38fc6 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf5a1ef7121ad661b5a21a1d02941c8064d54ee0b (diff)
downloadrust-769425a4eaca0dff46b22df5ab38580f5d64428f.tar.gz
rust-769425a4eaca0dff46b22df5ab38580f5d64428f.zip
Expand `CloneToUninit` documentation.
* Clarify relationship to `dyn` after #133003.
* Add an example of using it with `dyn` as #133003 enabled.
* Add an example of implementing it.
* Add links to Rust Reference for the mentioned concepts.
* Mention that its method should rarely be called.
* Replace parameter name `dst` with `dest` to avoids confusion between
  “DeSTination” and “Dynamically-Sized Type”.
* Various small corrections.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions