Skip to content

Commit

Permalink
Rollup merge of rust-lang#76056 - pickfire:patch-10, r=jyn514
Browse files Browse the repository at this point in the history
Add more info for Vec Drain doc

See its documentation for more
  • Loading branch information
Dylan-DPC authored Sep 16, 2020
2 parents 9f04c90 + ba4c498 commit eeffc1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eeffc1c

Please sign in to comment.