Skip to content

Commit

Permalink
Add more info for Vec Drain doc
Browse files Browse the repository at this point in the history
See its documentation for more
  • Loading branch information
pickfire committed Aug 29, 2020
1 parent 1dc748f commit ba4c498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/alloc/src/vec.rs
Expand Up @@ -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
Expand Down

0 comments on commit ba4c498

Please sign in to comment.