File tree 1 file changed +4
-4
lines changed
library/core/src/iter/traits
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1957,8 +1957,8 @@ pub trait Iterator {
1957
1957
/// assert_eq!(it.next(), Some(&40));
1958
1958
/// ```
1959
1959
///
1960
- /// While you cannot `break` from a closure, the [`crate::ops:: ControlFlow`]
1961
- /// type allows a similar idea:
1960
+ /// While you cannot `break` from a closure, the [`ControlFlow`] type allows
1961
+ /// a similar idea:
1962
1962
///
1963
1963
/// ```
1964
1964
/// use std::ops::ControlFlow;
@@ -2024,8 +2024,8 @@ pub trait Iterator {
2024
2024
/// assert_eq!(it.next(), Some("stale_bread.json"));
2025
2025
/// ```
2026
2026
///
2027
- /// The [`crate::ops:: ControlFlow`] type can be used with this method for the
2028
- /// situations in which you'd use `break` and `continue` in a normal loop:
2027
+ /// The [`ControlFlow`] type can be used with this method for the situations
2028
+ /// in which you'd use `break` and `continue` in a normal loop:
2029
2029
///
2030
2030
/// ```
2031
2031
/// use std::ops::ControlFlow;
You can’t perform that action at this time.
0 commit comments