mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-19 12:03:50 +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};
|
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,
|
||||||
|
|
Loading…
Reference in a new issue