Skip to content

Commit 92dbf9c

Browse files
committed
Remove useless Drain documentation
1 parent c8d34b6 commit 92dbf9c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/vec/drain.rs

-9
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ use super::VecView;
1414
///
1515
/// This `struct` is created by [`Vec::drain`](super::Vec::drain).
1616
/// See its documentation for more.
17-
///
18-
/// # Example
19-
///
20-
/// ```
21-
/// use heapless::{vec, Vec};
22-
///
23-
/// let mut v = Vec::<_, 4>::from_array([0, 1, 2]);
24-
/// let iter: vec::Drain<'_, _, _> = v.drain(..);
25-
/// ```
2617
pub struct Drain<'a, T: 'a, LenT: LenType> {
2718
/// Index of tail to preserve
2819
pub(super) tail_start: LenT,

0 commit comments

Comments
 (0)