File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -531,8 +531,10 @@ where
531
531
532
532
/// An iterator where each iteration calls the provided closure `F: FnMut() -> Option<T>`.
533
533
///
534
- /// This `struct` is created by the [`from_fn()`] function.
534
+ /// This `struct` is created by the [`iter:: from_fn()`] function.
535
535
/// See its documentation for more.
536
+ ///
537
+ /// [`iter::from_fn()`]: from_fn
536
538
#[ derive( Clone ) ]
537
539
#[ stable( feature = "iter_from_fn" , since = "1.34.0" ) ]
538
540
pub struct FromFn < F > ( F ) ;
@@ -581,8 +583,10 @@ where
581
583
582
584
/// An new iterator where each successive item is computed based on the preceding one.
583
585
///
584
- /// This `struct` is created by the [`successors()`] function.
586
+ /// This `struct` is created by the [`iter:: successors()`] function.
585
587
/// See its documentation for more.
588
+ ///
589
+ /// [`iter::successors()`]: successors
586
590
#[ derive( Clone ) ]
587
591
#[ stable( feature = "iter_successors" , since = "1.34.0" ) ]
588
592
pub struct Successors < T , F > {
You can’t perform that action at this time.
0 commit comments