Skip to content

Commit 207a508

Browse files
committed
auto merge of #18770 : pczarn/rust/hash_map-explicit-shrinking, r=Gankro
Part of enforcing capacity-related conventions, for #18424, the collections reform. Implements `fn shrink_to_fit` for HashMap. The `reserve` method now takes as an argument the *extra* space to reserve.
2 parents daa0745 + b82624b commit 207a508

File tree

2 files changed

+255
-143
lines changed

2 files changed

+255
-143
lines changed

0 commit comments

Comments
 (0)