diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-02-18 20:23:49 -0600 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-02-18 20:23:49 -0600 |
| commit | 46c91db1e1c1f497854069d78e522bc5ff6bf0f7 (patch) | |
| tree | ebabc878147227abb0acc1edc816a21dd087fa2c | |
| parent | 54c6054ec72c7ec8babd95324059713abdfa74f7 (diff) | |
| download | rust-46c91db1e1c1f497854069d78e522bc5ff6bf0f7.tar.gz rust-46c91db1e1c1f497854069d78e522bc5ff6bf0f7.zip | |
Change known problems
| -rw-r--r-- | clippy_lints/src/unnecessary_wraps.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/unnecessary_wraps.rs b/clippy_lints/src/unnecessary_wraps.rs index 0e78c76a7d1..9c0c21b9bc7 100644 --- a/clippy_lints/src/unnecessary_wraps.rs +++ b/clippy_lints/src/unnecessary_wraps.rs @@ -17,8 +17,8 @@ declare_clippy_lint! { /// /// **Why is this bad?** It is not meaningful to wrap values when no `None` or `Err` is returned. /// - /// **Known problems:** Since this lint changes function type signature, you may need to - /// adjust some code at callee side. + /// **Known problems:** There can be false positives if the function signature is designed to + /// fit some external requirement. /// /// **Example:** /// |
