We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d10c7 commit cd6ca72Copy full SHA for cd6ca72
clippy_lints/src/needless_return.rs
@@ -17,8 +17,7 @@ declare_clippy_lint! {
17
/// **Why is this bad?** Removing the `return` and semicolon will make the code
18
/// more rusty.
19
///
20
- /// **Known problems:** If the computation returning the value borrows a local
21
- /// variable, removing the `return` may run afoul of the borrow checker.
+ /// **Known problems:** None.
22
23
/// **Example:**
24
/// ```rust
0 commit comments