Skip to content

Commit 063798c

Browse files
committed
Add doc
1 parent 40c4e1a commit 063798c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/stream/from_iter.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ use crate::stream::Stream;
66
use crate::task::{Context, Poll};
77

88
pin_project! {
9+
/// A stream that created from iterator
10+
///
11+
/// This stream is created by the [`from_iter`] function.
12+
/// See it documentation for more.
13+
///
14+
/// [`from_iter`]: fn.from_iter.html
915
#[derive(Debug)]
1016
pub struct FromIter<I> {
1117
iter: I,

0 commit comments

Comments
 (0)