diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-07-13 15:24:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-13 15:24:29 +0000 |
| commit | 6f2567d16da654e38404c93307594a04a03deddb (patch) | |
| tree | efa50395f342adbdaffc6005d8b465c55f77341a /compiler/rustc_codegen_gcc/example/alloc_system.rs | |
| parent | 7e2d26f4b29f316dd049750b35f9004bb43aece7 (diff) | |
| parent | b4fc33ae8bdbc1565721576932bf22010b98a6c9 (diff) | |
| download | rust-6f2567d16da654e38404c93307594a04a03deddb.tar.gz rust-6f2567d16da654e38404c93307594a04a03deddb.zip | |
Update manual_is_variant_and documentation to include equality comparison (#15239)
Update `manual_is_variant_and` documentation to include equality comparison patterns This commit updates the documentation for the `manual_is_variant_and` lint to include all linted cases. Previously, the documentation only mentioned the `.map(f).unwrap_or_default()` pattern, but the lint also catches equality comparison patterns like `option.map(f) == Some(true)` and `result.map(f) == Ok(true)`. changelog: [`manual_is_variant_and`]: Update documentation to include equality comparison patterns fixes rust-lang/rust-clippy#15217
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions
