This commit is contained in:
k-nasa 2019-11-01 21:18:43 +09:00
parent 40c4e1a29d
commit 063798ce49

View file

@ -6,6 +6,12 @@ use crate::stream::Stream;
use crate::task::{Context, Poll};
pin_project! {
/// A stream that created from iterator
///
/// This stream is created by the [`from_iter`] function.
/// See it documentation for more.
///
/// [`from_iter`]: fn.from_iter.html
#[derive(Debug)]
pub struct FromIter<I> {
iter: I,