We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2728d5 commit a00dfddCopy full SHA for a00dfdd
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 a new iterator with the provided closure
+/// `F: FnMut() -> Option<T>` as its `next` method.
5
///
6
/// The iterator will yield the `T`s returned from the closure.
7
0 commit comments