rust-lang/rust — pull request #15852 by P1start (2014-07-21 08:42:34+00:00)
Title: Clarify the std::vec::Vec::from_capacity docs

There is some confusion (cc #15851) about what `Vec::from_capacity` actually does—someone who doesn’t understand the difference between capacity and length (an understandable conflation) could easily presume that it creates a new vector with the specified length (filled up with some kind of default or undefined value).