Add missing header for manual_is_variant_and
This commit is contained in:
parent
c0939b18b8
commit
7322fa0235
1 changed files with 1 additions and 0 deletions
|
|
@ -3875,6 +3875,7 @@ declare_clippy_lint! {
|
|||
}
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// ### What it does
|
||||
/// Checks for usage of `option.map(f).unwrap_or_default()` and `result.map(f).unwrap_or_default()` where f is a function or closure that returns the `bool` type.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue