]> git.lizzy.rs Git - rust.git/commit
std: Change the behavior of `reserve` for HashMap.
authorPiotr Czarnecki <pioczarn@gmail.com>
Sat, 8 Nov 2014 16:26:52 +0000 (17:26 +0100)
committerPiotr Czarnecki <pioczarn@gmail.com>
Sun, 30 Nov 2014 21:52:11 +0000 (22:52 +0100)
commitb82624bf205e83555d7764d9f849fbfd30df0083
treedfaae7120f480c9acb4fb876f821b5ce748a9b6a
parent72c96badd277f1090d7a70fdca37b547b6ba000f
std: Change the behavior of `reserve` for HashMap.

HashMap's `reserve` method now takes as an argument the *extra* space
to reserve.

[breaking-change]
src/libstd/collections/hash/map.rs