Skip to content

Commit

Permalink
Merge pull request #3303 from shssoichiro/3069-unnecessary-fold-patte…
Browse files Browse the repository at this point in the history
…rn-guard

Note known false positives in unnecessary_fold lint
  • Loading branch information
phansch authored Oct 18, 2018
2 parents 4dc6b36 + 33847b5 commit 8f5a248
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f5a248

Please sign in to comment.