Fix more clippy (#32740)

This commit is contained in:
石蕊 (Pi-Cla) 2024-07-09 04:47:43 +00:00 committed by GitHub
parent 4e1f623666
commit f29dd64a7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 72 additions and 90 deletions

View file

@ -622,8 +622,8 @@ impl TestBindingMethods for TestBinding {
arg.type_.as_ref().map(|s| s == "success").unwrap_or(false) &&
arg.nonRequiredNullable.is_none() &&
arg.nonRequiredNullable2 == Some(None) &&
arg.noCallbackImport == None &&
arg.noCallbackImport2 == None
arg.noCallbackImport.is_none() &&
arg.noCallbackImport2.is_none()
}
fn PassBoolean(&self, _: bool) {}