Rollup merge of #40423 - DirkyJerky:patch-2, r=BurntSushi

Clarify docs in `VecDeque::resize`
This commit is contained in:
Alex Crichton 2017-03-10 16:51:49 -06:00
commit b32393c889

View File

@ -1808,7 +1808,7 @@ pub fn place_front(&mut self) -> PlaceFront<T> {
impl<T: Clone> VecDeque<T> {
/// Modifies the `VecDeque` in-place so that `len()` is equal to new_len,
/// either by removing excess elements or by appending copies of a value to the back.
/// either by removing excess elements or by appending clones of `value` to the back.
///
/// # Examples
///