We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ea4c4 commit 8e73e5dCopy full SHA for 8e73e5d
src/multipeek_impl.rs
@@ -2,6 +2,8 @@ use std::iter::Fuse;
2
use alloc::collections::VecDeque;
3
use crate::size_hint;
4
use crate::PeekingNext;
5
+#[cfg(doc)]
6
+use crate::Itertools;
7
8
/// See [`multipeek()`] for more information.
9
#[derive(Clone, Debug)]
@@ -15,6 +17,8 @@ pub struct MultiPeek<I>
15
17
16
18
/// An iterator adaptor that allows the user to peek at multiple `.next()`
19
/// values without advancing the base iterator.
20
+///
21
+/// [`IntoIterator`] enabled version of [`Itertools::multipeek`].
22
pub fn multipeek<I>(iterable: I) -> MultiPeek<I::IntoIter>
23
where I: IntoIterator
24
{
0 commit comments