File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
library/core/src/iter/adapters Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
use super :: Peekable ;
2
2
3
3
/// An iterator adapter that places a separator between all elements.
4
+ ///
5
+ /// This `struct` is created by [`Iterator::intersperse`]. See it's documentation
6
+ /// for more information.
4
7
#[ unstable( feature = "iter_intersperse" , reason = "recently added" , issue = "79524" ) ]
5
8
#[ derive( Debug , Clone ) ]
6
9
pub struct Intersperse < I : Iterator >
55
58
}
56
59
57
60
/// An iterator adapter that places a separator between all elements.
61
+ ///
62
+ /// This `struct` is created by [`Iterator::intersperse_with`]. See it's
63
+ /// documentation for more information.
58
64
#[ unstable( feature = "iter_intersperse" , reason = "recently added" , issue = "79524" ) ]
59
65
pub struct IntersperseWith < I , G >
60
66
where
You can’t perform that action at this time.
0 commit comments