3 ms·
When was this implemented? I remember when people used to have to manually flatten nested enums in order to save space
by subarctic 2y ago
When was this implemented? I remember when people used to have to manually flatten nested enums in order to save space
- returningfory2 2y agoMany years ago I think, here: https://github.com/rust-lang/rust/issues/46213 https://github.com/rust-lang/rust/issues/46213. (Found this via https://lobste.rs/s/w3jjb2/surprising_enum_size_optimization_rust#c_cdosot https://lobste.rs/s/w3jjb2/surprising_enum_size_optimization...)