Skip to content

Commit ba4c498

Browse files
authored
Add more info for Vec Drain doc
See its documentation for more
1 parent 1dc748f commit ba4c498

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/vec.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2785,6 +2785,7 @@ unsafe impl<#[may_dangle] T> Drop for IntoIter<T> {
27852785
/// A draining iterator for `Vec<T>`.
27862786
///
27872787
/// This `struct` is created by [`Vec::drain`].
2788+
/// See its documentation for more.
27882789
#[stable(feature = "drain", since = "1.6.0")]
27892790
pub struct Drain<'a, T: 'a> {
27902791
/// Index of tail to preserve

0 commit comments

Comments
 (0)