Comment by yuriks
15 hours ago
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.
15 hours ago
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.
No comments yet
Contribute on Hacker News ↗