Skip to content

Commit

Permalink
Fix link in from_fn.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
hkBst authored and gitbot committed Feb 20, 2025
1 parent a4c3372 commit 7984f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/iter/sources/from_fn.rs
Original file line number Diff line number Diff line change
@@ -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.
///
Expand Down

0 comments on commit 7984f24

Please sign in to comment.