alt
Hacker News
yuriks
•
today at 3:54 AM
•
0 replies
•
view on HN
That's part of the error enum.
enum AllocError { SizeTooLarge { size: usize }, // etc. }
This enum has a known size and doesn't require any dynamic allocations.