2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-19 12:03:50 +00:00
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}; use crate::task::{Context, Poll};
pin_project! { 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)] #[derive(Debug)]
pub struct FromIter<I> { pub struct FromIter<I> {
iter: I, iter: I,