File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
library/core/src/iter/traits Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1957,8 +1957,8 @@ pub trait Iterator {
19571957 /// assert_eq!(it.next(), Some(&40));
19581958 /// ```
19591959 ///
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:
19621962 ///
19631963 /// ```
19641964 /// use std::ops::ControlFlow;
@@ -2024,8 +2024,8 @@ pub trait Iterator {
20242024 /// assert_eq!(it.next(), Some("stale_bread.json"));
20252025 /// ```
20262026 ///
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:
20292029 ///
20302030 /// ```
20312031 /// use std::ops::ControlFlow;
You can’t perform that action at this time.
0 commit comments