Change formulation of known problems section

This commit is contained in:
Philipp Krones 2020-11-28 18:58:53 +01:00 committed by GitHub
parent e266708c42
commit 22e7775aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,8 +459,8 @@ declare_clippy_lint! {
///
/// **Why is this bad?** Readability and needless complexity.
///
/// **Known problems:** It can be FP triggered, when some arms have `cfg`
/// attributes, which evaluate into `false`.
/// **Known problems:** This lint falsely triggers, if there are arms with
/// `cfg` attributes that remove an arm evaluating to `false`.
///
/// **Example:**
/// ```rust