]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #18770 : pczarn/rust/hash_map-explicit-shrinking, r=Gankro
authorbors <bors@rust-lang.org>
Thu, 4 Dec 2014 01:07:48 +0000 (01:07 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Dec 2014 01:07:48 +0000 (01:07 +0000)
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.


Trivial merge