]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #19528: aliblong/add_vecmap_capacity
authorCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:08:24 +0000 (10:08 -0800)
committerCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:08:24 +0000 (10:08 -0800)
Part of #18424

Adds `capacity()` function to VecMap, as per the collections reform.

(Salvaged from #19516, #19523, while we await an RFC regarding `reserve`/`reserve_index` for `VecMap`)


Trivial merge