mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 18:36:09 +00:00
add more niches to rawvec Previously RawVec only had a single niche in its `NonNull` pointer. With this change it now has `isize::MAX` niches since half the value-space of the capacity field is never needed, we can't have a capacity larger than isize::MAX.