We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8d34b6 commit 92dbf9cCopy full SHA for 92dbf9c
src/vec/drain.rs
@@ -14,15 +14,6 @@ use super::VecView;
14
///
15
/// This `struct` is created by [`Vec::drain`](super::Vec::drain).
16
/// 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
26
pub struct Drain<'a, T: 'a, LenT: LenType> {
27
/// Index of tail to preserve
28
pub(super) tail_start: LenT,
0 commit comments