diff options
| author | bors <bors@rust-lang.org> | 2024-03-04 16:27:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-04 16:27:23 +0000 |
| commit | 5214ab557f5571afcb064c3d8b9b41485ebebe60 (patch) | |
| tree | 634444002023d59bb2c737a9bb26be395d5917b9 | |
| parent | 1cb39050bf38c02fdd1b798ac3f52827884c734d (diff) | |
| parent | 7322fa02354aa2e27c3229a4a4316789dbf65d98 (diff) | |
| download | rust-5214ab557f5571afcb064c3d8b9b41485ebebe60.tar.gz rust-5214ab557f5571afcb064c3d8b9b41485ebebe60.zip | |
Auto merge of #12416 - Veykril:patch-2, r=blyxyas
Add missing header for `manual_is_variant_and` Noticed this while generating our lint completions failed in rust-analyzer (separate PR from https://github.com/rust-lang/rust-clippy/pull/12415 as I made these via the github interface quickly) changelog: none
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 94835912328..8a24ccea3a1 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -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? |
