about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-10 16:51:49 -0600
committerAlex Crichton <alex@alexcrichton.com>2017-03-10 20:05:06 -0800
commitb32393c889aec6676eda8abc1b98831047d92961 (patch)
tree9e0d740c0781110f6892f106755d412620303d02
parentf4b4e097a6dcc5ffac6f3b34c91423708014c553 (diff)
parent384ee48a1a362a3886300f974739e5579ac998cd (diff)
downloadrust-b32393c889aec6676eda8abc1b98831047d92961.tar.gz
rust-b32393c889aec6676eda8abc1b98831047d92961.zip
Rollup merge of #40423 - DirkyJerky:patch-2, r=BurntSushi
Clarify docs in `VecDeque::resize`
-rw-r--r--src/libcollections/vec_deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec_deque.rs b/src/libcollections/vec_deque.rs
index 24f57c50630..1985be7f901 100644
--- a/src/libcollections/vec_deque.rs
+++ b/src/libcollections/vec_deque.rs
@@ -1808,7 +1808,7 @@ impl<T> VecDeque<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
     ///