File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -531,8 +531,10 @@ where
531531
532532/// An iterator where each iteration calls the provided closure `F: FnMut() -> Option<T>`.
533533///
534- /// This `struct` is created by the [`from_fn()`] function.
534+ /// This `struct` is created by the [`iter:: from_fn()`] function.
535535/// See its documentation for more.
536+ ///
537+ /// [`iter::from_fn()`]: from_fn
536538#[ derive( Clone ) ]
537539#[ stable( feature = "iter_from_fn" , since = "1.34.0" ) ]
538540pub struct FromFn < F > ( F ) ;
@@ -581,8 +583,10 @@ where
581583
582584/// An new iterator where each successive item is computed based on the preceding one.
583585///
584- /// This `struct` is created by the [`successors()`] function.
586+ /// This `struct` is created by the [`iter:: successors()`] function.
585587/// See its documentation for more.
588+ ///
589+ /// [`iter::successors()`]: successors
586590#[ derive( Clone ) ]
587591#[ stable( feature = "iter_successors" , since = "1.34.0" ) ]
588592pub struct Successors < T , F > {
You can’t perform that action at this time.
0 commit comments