diff options
| author | jrqc <jrqc01@hotmail.com> | 2020-08-13 15:21:09 +0300 |
|---|---|---|
| committer | jrqc <jrqc01@hotmail.com> | 2020-08-16 00:24:27 +0300 |
| commit | cd6ca72e0e4040a5c3a6623c2e8533db91db6042 (patch) | |
| tree | a1db9170834d9758d6740c171ab9b4d0c9e54424 | |
| parent | 65d10c7abf4752923f040264c79433da8fc234ea (diff) | |
| download | rust-cd6ca72e0e4040a5c3a6623c2e8533db91db6042.tar.gz rust-cd6ca72e0e4040a5c3a6623c2e8533db91db6042.zip | |
Known problems changed
| -rw-r--r-- | clippy_lints/src/needless_return.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_lints/src/needless_return.rs b/clippy_lints/src/needless_return.rs index ba280cd5a61..eb0bf12c0ab 100644 --- a/clippy_lints/src/needless_return.rs +++ b/clippy_lints/src/needless_return.rs @@ -17,8 +17,7 @@ declare_clippy_lint! { /// **Why is this bad?** Removing the `return` and semicolon will make the code /// more rusty. /// - /// **Known problems:** If the computation returning the value borrows a local - /// variable, removing the `return` may run afoul of the borrow checker. + /// **Known problems:** None. /// /// **Example:** /// ```rust |
