mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -88,11 +88,8 @@ impl HTMLMetaElement {
|
|||
// https://html.spec.whatwg.org/multipage/#attr-meta-http-equiv
|
||||
} else if !self.HttpEquiv().is_empty() {
|
||||
// TODO: Implement additional http-equiv candidates
|
||||
match self.HttpEquiv().to_ascii_lowercase().as_str() {
|
||||
"refresh" => {
|
||||
self.declarative_refresh();
|
||||
},
|
||||
_ => {},
|
||||
if self.HttpEquiv().to_ascii_lowercase().as_str() == "refresh" {
|
||||
self.declarative_refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue