3 ms·
Vec::new doesn't allocate. Vec::try_reserve, on the other hand, simply uses a common `CollectionAllocError`, which is not really (a) or (b).
by Rusky 8y ago
Vec::new doesn't allocate.
Vec::try_reserve, on the other hand, simply uses a common `CollectionAllocError`, which is not really (a) or (b).