We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5ef81 commit 18c5f4eCopy full SHA for 18c5f4e
src/liballoc/collections/vec_deque.rs
@@ -835,7 +835,8 @@ impl<T> VecDeque<T> {
835
}
836
837
838
- /// Shortens the `VecDeque`, dropping excess elements from the back.
+ /// Shortens the `VecDeque`, keeping the first `len` elements and dropping
839
+ /// the rest.
840
///
841
/// If `len` is greater than the `VecDeque`'s current length, this has no
842
/// effect.
0 commit comments