diff options
| author | bors <bors@rust-lang.org> | 2017-10-01 17:32:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-01 17:32:34 +0000 |
| commit | cef4a3ebfaa7809d6ab8d8578b14160a83215321 (patch) | |
| tree | 3cb22c89d3b057fbddd8fedb1413fdd7d088bb60 /src/rustllvm/RustWrapper.cpp | |
| parent | 3651cddc441716ffa8aa4d1c771e26dab7f56216 (diff) | |
| parent | 0ece48e2113cd8de4a8bce66eecdd081872ce56e (diff) | |
| download | rust-cef4a3ebfaa7809d6ab8d8578b14160a83215321.tar.gz rust-cef4a3ebfaa7809d6ab8d8578b14160a83215321.zip | |
Auto merge of #44897 - Havvy:doc-size_of, r=steveklabnik
Docs for size_of::<#[repr(C)]> items. Most of this info comes from camlorn's blog post on optimizing struct layout and the Rustonomicon. I don't really like my wording in the first paragraph. I also cannot find a definition of what `#[repr(C)]` does for enums that have variants with fields. They're allowed, unlike `#[repr(C)] enum`s with no variants.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
