We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32c04fc + d3cd832 commit 448fa11Copy full SHA for 448fa11
library/core/src/iter/sources/from_fn.rs
@@ -1,7 +1,7 @@
1
use crate::fmt;
2
3
-/// Creates a new iterator where each iteration calls the provided closure
4
-/// `F: FnMut() -> Option<T>`.
+/// Creates an iterator with the provided closure
+/// `F: FnMut() -> Option<T>` as its `[next](Iterator::next)` method.
5
///
6
/// The iterator will yield the `T`s returned from the closure.
7
0 commit comments