Add shrink_to
/ shrink_to_fit
to MutableBuffer
#297
Labels
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When memory is tight, it could be useful to be able to shrink a
MutableBuffer
before freezing it.Describe the solution you'd like
The behavior of this methods would ideally mimic those of
Vec<T>
The text was updated successfully, but these errors were encountered: