rust-lang/rust — pull request #19523 by aliblong (2014-12-04 14:25:34+00:00)
Title: Add capacity-related functions for VecMap

Part of #18424

Adds functions `reserve(uint)`, `reserve_exact(uint)`, and `capacity()` to VecMap, as per the collections reform.

(Separation of PRs from #19516)