File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ declare_clippy_lint! {
2525 /// Using the dedicated functions of the `Option` type is clearer and
2626 /// more concise than an `if let` expression.
2727 ///
28- /// ### Known problems
29- /// This lint uses a deliberately conservative metric for checking
30- /// if the inside of either body contains breaks or continues which will
31- /// cause it to not suggest a fix if either block contains a loop with
32- /// continues or breaks contained within the loop .
28+ /// ### Notes
29+ /// This lint uses a deliberately conservative metric for checking if the
30+ /// inside of either body contains loop control expressions `break` or
31+ /// `continue` (which cannot be used within closures). If these are found,
32+ /// this lint will not be raised .
3333 ///
3434 /// ### Example
3535 /// ```rust
You can’t perform that action at this time.
0 commit comments