Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
subarctic
· 1y ago · 0 comments
When was this implemented? I remember when people used to have to manually flatten nested enums in order to save space
Comments
[–]
returningfory2
1y ago
Many years ago I think, here:
https://github.com/rust-lang/rust/issues/46213
. (Found this via
https://lobste.rs/s/w3jjb2/surprising_enum_size_optimization...
)