]> git.lizzy.rs Git - rust.git/commitdiff
Clarify docs in `VecDeque::resize`
authorGeoff Yoerger <geoffreyiy1@gmail.com>
Fri, 10 Mar 2017 18:11:13 +0000 (12:11 -0600)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2017 18:11:13 +0000 (12:11 -0600)
src/libcollections/vec_deque.rs

index 8d42045ff16372cbaccdfc7b80124488d4c444b2..48a6c66db97eb6fd3e905a5822ea5b83fea8f011 100644 (file)
@@ -1766,7 +1766,7 @@ pub fn retain<F>(&mut self, mut f: F)
 
 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
     ///