about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-07-13 15:24:29 +0000
committerGitHub <noreply@github.com>2025-07-13 15:24:29 +0000
commit6f2567d16da654e38404c93307594a04a03deddb (patch)
treeefa50395f342adbdaffc6005d8b465c55f77341a /compiler/rustc_codegen_gcc
parent7e2d26f4b29f316dd049750b35f9004bb43aece7 (diff)
parentb4fc33ae8bdbc1565721576932bf22010b98a6c9 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions