clippy: Fix remaining warnings in generated code (#31844)

* clippy: fix warnings in generated code

* clippy: fix wrap_panic closure warnings
This commit is contained in:
eri 2024-03-25 12:12:36 +01:00 committed by GitHub
parent d8adeb1b44
commit 9a76dd9325
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 48 additions and 32 deletions

View file

@ -755,10 +755,7 @@ fn inner_invoke(
}
impl Default for EventBinding::EventInit {
fn default() -> EventBinding::EventInit {
EventBinding::EventInit {
bubbles: false,
cancelable: false,
}
fn default() -> Self {
Self::empty()
}
}