Skip to content

Commit 73858d0

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

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
@@ -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)