logoalt Hacker News

yurikstoday at 3:54 AM0 repliesview 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.