mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 00:43:50 +00:00
Update known problems.
This commit is contained in:
parent
23404287fc
commit
0c6730d851
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user