about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-16 08:24:40 +0200
committerGitHub <noreply@github.com>2020-09-16 08:24:40 +0200
commit73858d01c36517d602ebaa9fd6f6516048eea9fc (patch)
tree4e2443febf25cdb0ae0f6f97673fc631b5b92ae6 /library/alloc/src
parentf4e4485a052857e5dd32ea29ceb7b1a8223e83cc (diff)
parentba4c4988161abbe58e973b792c7e271785b4bc4d (diff)
Rollup merge of #76056 - pickfire:patch-10, r=jyn514
Add more info for Vec Drain doc

See its documentation for more
Diffstat (limited to 'library/alloc/src')
-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 cb4c1c20abc..2580c970713 100644
--- a/library/alloc/src/vec.rs
+++ b/library/alloc/src/vec.rs
@@ -3037,6 +3037,7 @@ impl<T> AsIntoIter 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