You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Add missing header for `manual_is_variant_and`
Noticed this while generating our lint completions failed in rust-analyzer (separate PR from rust-lang/rust-clippy#12415 as I made these via the github interface quickly)
changelog: none
Copy file name to clipboardExpand all lines: clippy_lints/src/methods/mod.rs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3875,6 +3875,7 @@ declare_clippy_lint! {
3875
3875
}
3876
3876
3877
3877
declare_clippy_lint!{
3878
+
/// ### What it does
3878
3879
/// 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.
0 commit comments