Add missing header for manual_is_variant_and

This commit is contained in:
Lukas Wirth 2024-03-04 17:09:49 +01:00 committed by GitHub
parent c0939b18b8
commit 7322fa0235
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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?