mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 04:35:32 +00:00
Add doc
This commit is contained in:
parent
40c4e1a29d
commit
063798ce49
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue