From 6770d3ddf4bc20e1437e3a2767942311bc10a65e Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Wed, 5 Feb 2025 08:52:13 +0100 Subject: [PATCH] Fix link in from_fn.rs --- library/core/src/iter/sources/from_fn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. ///