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 11use super :: Peekable ;
22
33/// 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.
47#[ unstable( feature = "iter_intersperse" , reason = "recently added" , issue = "79524" ) ]
58#[ derive( Debug , Clone ) ]
69pub struct Intersperse < I : Iterator >
5558}
5659
5760/// 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.
5864#[ unstable( feature = "iter_intersperse" , reason = "recently added" , issue = "79524" ) ]
5965pub struct IntersperseWith < I , G >
6066where
You can’t perform that action at this time.
0 commit comments