mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
d8adeb1b44
commit
9a76dd9325
4 changed files with 48 additions and 32 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue