Skip to content

Commit cd6ca72

Browse files
committed
Known problems changed
1 parent 65d10c7 commit cd6ca72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/needless_return.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ declare_clippy_lint! {
1717
/// **Why is this bad?** Removing the `return` and semicolon will make the code
1818
/// more rusty.
1919
///
20-
/// **Known problems:** If the computation returning the value borrows a local
21-
/// variable, removing the `return` may run afoul of the borrow checker.
20+
/// **Known problems:** None.
2221
///
2322
/// **Example:**
2423
/// ```rust

0 commit comments

Comments
 (0)