Merge pull request #43 from bennyyip/master

Update for field reordering
pull/46/head
Alexis Beingessner 7 years ago committed by GitHub
commit 2629717682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,9 +110,6 @@ struct Foo<u32, u16> {
The latter case quite simply wastes space. An optimal use of space therefore
requires different monomorphizations to have *different field orderings*.
**Note: this is a hypothetical optimization that is not yet implemented in Rust
1.0**
Enums make this consideration even more complicated. Naively, an enum such as:
```rust

Loading…
Cancel
Save