Skip to content

Commit

Permalink
Add doc intralinks
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslueg committed Jan 13, 2021
1 parent 7a0ada0 commit 9528988
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/core/src/iter/adapters/intersperse.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use super::Peekable;

/// An iterator adapter that places a separator between all elements.
///
/// This `struct` is created by [`Iterator::intersperse`]. See it's documentation
/// for more information.
#[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")]
#[derive(Debug, Clone)]
pub struct Intersperse<I: Iterator>
Expand Down Expand Up @@ -55,6 +58,9 @@ where
}

/// An iterator adapter that places a separator between all elements.
///
/// This `struct` is created by [`Iterator::intersperse_with`]. See it's
/// documentation for more information.
#[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")]
pub struct IntersperseWith<I, G>
where
Expand Down

0 comments on commit 9528988

Please sign in to comment.