mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Fixe some clippy warnings (#32131)
This commit is contained in:
parent
d490fdf83c
commit
5a4c81f841
5 changed files with 32 additions and 36 deletions
|
@ -156,11 +156,8 @@ impl VirtualMethods for HTMLLabelElement {
|
|||
|
||||
fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {
|
||||
self.super_type().unwrap().attribute_mutated(attr, mutation);
|
||||
match *attr.local_name() {
|
||||
local_name!("form") => {
|
||||
self.form_attribute_mutated(mutation);
|
||||
},
|
||||
_ => {},
|
||||
if *attr.local_name() == local_name!("form") {
|
||||
self.form_attribute_mutated(mutation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue