mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Add more info for Vec Drain doc
See its documentation for more
This commit is contained in:
parent
1dc748fb3d
commit
ba4c498816
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user