about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-05 19:53:49 -0800
committerGitHub <noreply@github.com>2025-02-05 19:53:49 -0800
commit8964e70051e1a033382c03557444b2fe11b9141b (patch)
tree29470e8ff6cf440390beb7994df840de62b552d9
parent854a710fca65c54a917cee1f1abc07010cd5ea43 (diff)
parent6770d3ddf4bc20e1437e3a2767942311bc10a65e (diff)
Rollup merge of #136566 - hkBst:patch-1, r=scottmcm
Fix link in from_fn.rs
-rw-r--r--library/core/src/iter/sources/from_fn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/sources/from_fn.rs b/library/core/src/iter/sources/from_fn.rs
index 75cc0ffe3c7..1c7e1b30a2f 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<T>` as its `[next](Iterator::next)` method.
+/// `F: FnMut() -> Option<T>` as its [`next`](Iterator::next) method.
 ///
 /// The iterator will yield the `T`s returned from the closure.
 ///