Skip to content

Commit eeffc1c

Browse files
authored
Rollup merge of rust-lang#76056 - pickfire:patch-10, r=jyn514
Add more info for Vec Drain doc See its documentation for more
2 parents 9f04c90 + ba4c498 commit eeffc1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/vec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,6 +3037,7 @@ impl<T> AsIntoIter for IntoIter<T> {
30373037
/// A draining iterator for `Vec<T>`.
30383038
///
30393039
/// This `struct` is created by [`Vec::drain`].
3040+
/// See its documentation for more.
30403041
#[stable(feature = "drain", since = "1.6.0")]
30413042
pub struct Drain<'a, T: 'a> {
30423043
/// Index of tail to preserve

0 commit comments

Comments
 (0)