diff --git a/library/core/src/iter/sources/from_fn.rs b/library/core/src/iter/sources/from_fn.rs index 75cc0ffe3c77c..1c7e1b30a2f88 100644 --- a/library/core/src/iter/sources/from_fn.rs +++ b/library/core/src/iter/sources/from_fn.rs @@ -1,7 +1,7 @@ use crate::fmt; /// Creates an iterator with the provided closure -/// `F: FnMut() -> Option` as its `[next](Iterator::next)` method. +/// `F: FnMut() -> Option` as its [`next`](Iterator::next) method. /// /// The iterator will yield the `T`s returned from the closure. ///