diff options
Diffstat (limited to 'components/script/dom/servoparser')
-rw-r--r-- | components/script/dom/servoparser/async_html.rs | 5 | ||||
-rw-r--r-- | components/script/dom/servoparser/mod.rs | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/components/script/dom/servoparser/async_html.rs b/components/script/dom/servoparser/async_html.rs index 29d684f5fdc..e9be6f8b657 100644 --- a/components/script/dom/servoparser/async_html.rs +++ b/components/script/dom/servoparser/async_html.rs @@ -701,7 +701,10 @@ impl TreeSink for Sink { } type Handle = ParseNode; - type ElemName<'a> = ExpandedName<'a> where Self: 'a; + type ElemName<'a> + = ExpandedName<'a> + where + Self: 'a; fn get_document(&self) -> Self::Handle { self.document_node.clone() diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs index 182702f334b..f10a26bd9ad 100644 --- a/components/script/dom/servoparser/mod.rs +++ b/components/script/dom/servoparser/mod.rs @@ -1135,7 +1135,10 @@ impl TreeSink for Sink { } type Handle = Dom<Node>; - type ElemName<'a> = ExpandedName<'a> where Self: 'a; + type ElemName<'a> + = ExpandedName<'a> + where + Self: 'a; #[allow(crown::unrooted_must_root)] fn get_document(&self) -> Dom<Node> { |