Skip to content

Commit

Permalink
auto merge of #18770 : pczarn/rust/hash_map-explicit-shrinking, r=Gankro
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Dec 4, 2014
2 parents daa0745 + b82624b commit 207a508
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 143 deletions.

0 comments on commit 207a508

Please sign in to comment.