mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Merge pull request #3303 from shssoichiro/3069-unnecessary-fold-pattern-guard
Note known false positives in unnecessary_fold lint
This commit is contained in:
commit
8f5a2484a0
1 changed files with 2 additions and 1 deletions
|
@ -688,7 +688,8 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// **Why is this bad?** Readability.
|
||||
///
|
||||
/// **Known problems:** None.
|
||||
/// **Known problems:** False positive in pattern guards. Will be resolved once
|
||||
/// non-lexical lifetimes are stable.
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
|
|
Loading…
Reference in a new issue