Skip to content

Commit 7322fa0

Browse files
authored
Add missing header for manual_is_variant_and
1 parent c0939b1 commit 7322fa0

File tree

1 file changed

+1
-0
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-0
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3875,6 +3875,7 @@ declare_clippy_lint! {
38753875
}
38763876

38773877
declare_clippy_lint! {
3878+
/// ### What it does
38783879
/// 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.
38793880
///
38803881
/// ### Why is this bad?

0 commit comments

Comments
 (0)