about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-16 09:40:07 +0800
committerGitHub <noreply@github.com>2025-03-16 09:40:07 +0800
commit5b9225070cee25f07086ff1db5b10abbae9a1918 (patch)
treec1097eba688229d17a59db3d219dac2d7c1c6df8 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent413600c2de88e4cab79cf65b086ac7a06ecd84cd (diff)
parent8f3254714762438639010efd90a721a133e23cec (diff)
downloadrust-5b9225070cee25f07086ff1db5b10abbae9a1918.tar.gz
rust-5b9225070cee25f07086ff1db5b10abbae9a1918.zip
Rollup merge of #138323 - kpreid:offset-of-doc, r=Mark-Simulacrum
Expand and organize `offset_of!` documentation.

* Give example of how to get the offset of an unsized tail field (prompted by discussion <https://github.com/rust-lang/rust/pull/133055#discussion_r1986422206>).
* Specify the return type.
* Add section headings.
* Reduce “Visibility is respected…”, to a single sentence.
* Move `offset_of_enum` documentation to unstable book (with link to it).
* Add `offset_of_slice` documentation in unstable book.

r? Mark-Simulacrum
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions