When returning an immutable reference to a private struct field. (On mobile and used vertical bars instead of a bunch of HTML codes)

  • @anlumo
    link
    fedilink
    211 months ago

    Vec::new is const and thus can’t allocate anyways.