mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Clippy: Fixed clippy warnings in components/script/dom (#31801)
* fixed clippy warnings in htmlformelement.rs * Fixed clippy warnings * Fixed warnings related to matches! * made changes to compile "test-tidy" successfully
This commit is contained in:
parent
5c0199b568
commit
da3288dd00
6 changed files with 108 additions and 111 deletions
|
@ -87,7 +87,7 @@ impl VirtualMethods for HTMLHeadElement {
|
|||
Some(self.upcast::<HTMLElement>() as &dyn VirtualMethods)
|
||||
}
|
||||
fn bind_to_tree(&self, context: &BindContext) {
|
||||
if let Some(ref s) = self.super_type() {
|
||||
if let Some(s) = self.super_type() {
|
||||
s.bind_to_tree(context);
|
||||
}
|
||||
load_script(self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue