about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-08-29 18:25:17 +0800
committerGitHub <noreply@github.com>2020-08-29 18:25:17 +0800
commitba4c4988161abbe58e973b792c7e271785b4bc4d (patch)
tree8a530002e23ff673deee8571635cc6313deaa028
parent1dc748fb3d2c54f536e6abd74f1ad34b3624f640 (diff)
downloadrust-ba4c4988161abbe58e973b792c7e271785b4bc4d.tar.gz
rust-ba4c4988161abbe58e973b792c7e271785b4bc4d.zip
Add more info for Vec Drain doc
See its documentation for more
-rw-r--r--library/alloc/src/vec.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs
index b4ad238680f..f6b2b3f1d23 100644
--- a/library/alloc/src/vec.rs
+++ b/library/alloc/src/vec.rs
@@ -2785,6 +2785,7 @@ unsafe impl<#[may_dangle] T> Drop for IntoIter<T> {
 /// A draining iterator for `Vec<T>`.
 ///
 /// This `struct` is created by [`Vec::drain`].
+/// See its documentation for more.
 #[stable(feature = "drain", since = "1.6.0")]
 pub struct Drain<'a, T: 'a> {
     /// Index of tail to preserve