Skip to content

Commit

Permalink
chore: satisfy clippy::unnecessary_get_then_check
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Apr 3, 2024
1 parent 86171b4 commit ea8efcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moz-webgpu-cts/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ fn run(cli: Cli) -> ExitCode {
let mut subtests = BTreeMap::new();
for (subtest_name, subtest) in subtest_entries {
let subtest_name = SectionHeader(subtest_name);
if subtests.get(&subtest_name).is_some() {
if subtests.contains_key(&subtest_name) {
found_reconciliation_err = true;
log::error!("internal error: duplicate test path {test_path:?}");
}
Expand Down

0 comments on commit ea8efcd

Please sign in to comment.