Update known problems.

This commit is contained in:
Fabian Zaiser 2018-06-08 18:25:31 +02:00
parent 23404287fc
commit 0c6730d851

View File

@ -36,7 +36,8 @@ declare_clippy_lint! {
///
/// **Why is this bad?** If panicking is desired, an explicit `panic!()` should be used.
///
/// **Known problems:** None.
/// **Known problems:** This lint only checks `if` conditions not assignments.
/// So something like `let x: Option<()> = None; x.unwrap();` will not be recognized.
///
/// **Example:**
/// ```rust