mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
fixed various clippy warnings (#31954)
This commit is contained in:
parent
c3360df918
commit
bd287df0d4
6 changed files with 6 additions and 6 deletions
|
@ -57,7 +57,7 @@ impl CSSNamespaceRuleMethods for CSSNamespaceRule {
|
|||
.prefix
|
||||
.as_ref()
|
||||
.map(|s| s.to_string().into())
|
||||
.unwrap_or(DOMString::new())
|
||||
.unwrap_or_default()
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-cssnamespacerule-namespaceuri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue