diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-26 12:58:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-26 12:58:12 +0200 |
| commit | 1e62382a4f4a5db37f3fc034c18e1d89d4e2e00d (patch) | |
| tree | 21eb5fe647cab3530631fde9f6d98a681bbcdcc8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fd15e6180d9c48b4f1157e44cdaff6e901e5f854 (diff) | |
| parent | 9bac5774d7b452b2227c9fb77a4c6de3f432ee55 (diff) | |
| download | rust-1e62382a4f4a5db37f3fc034c18e1d89d4e2e00d.tar.gz rust-1e62382a4f4a5db37f3fc034c18e1d89d4e2e00d.zip | |
Rollup merge of #75454 - ltratt:option_optimisation_guarantees, r=dtolnay
Explicitly document the size guarantees that Option makes. Triggered by a discussion on wg-unsafe-code-guidelines about which layouts of `Option<T>` one can guarantee are optimised to a single pointer. CC @RalfJung
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
