]> git.lizzy.rs Git - rust.git/commit
libcollections: remove `init_to_vec`
authorAaron Turon <aturon@mozilla.com>
Mon, 19 May 2014 18:46:29 +0000 (11:46 -0700)
committerAaron Turon <aturon@mozilla.com>
Mon, 19 May 2014 20:50:03 +0000 (13:50 -0700)
commita211907f88a8ac7a7deb3bd4c028e5dd34be95a2
tree9aa654736c7ee520c7b345dd0f03e04ef6af0dc1
parent42be687fa1a1070195c25a8e607d1209a9f8c88b
libcollections: remove `init_to_vec`

The `init_to_vec` function in `collections::bitv` was exposed as an
inherent method, but appears to just be a helper function for the
`to_vec` method. This patch inlines the definition, removing
`init_to_vec` from the public API.

[breaking-change]
src/libcollections/bitv.rs