]> git.lizzy.rs Git - rust.git/blobdiff - src/libcollections/vec_deque.rs
Clarify docs in `VecDeque::resize`
[rust.git] / 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
     ///