diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-04-27 17:50:50 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-04-28 09:22:45 +0200 |
commit | 7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb (patch) | |
tree | bb743513a335b0221e0c7c580175c16f7a42c736 /components/script/parse/html.rs | |
parent | d7987e43c944eb9b156bf3244c08fce4cb570db4 (diff) | |
download | servo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.tar.gz servo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.zip |
Uniformise root() methods
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable
and ResultRootable.
Diffstat (limited to 'components/script/parse/html.rs')
-rw-r--r-- | components/script/parse/html.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs index 21a37505b53..bd262ebe1f2 100644 --- a/components/script/parse/html.rs +++ b/components/script/parse/html.rs @@ -11,8 +11,8 @@ use dom::bindings::codegen::InheritTypes::{CharacterDataCast, DocumentTypeCast}; use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLScriptElementCast}; use dom::bindings::codegen::InheritTypes::{HTMLFormElementDerived, NodeCast}; use dom::bindings::codegen::InheritTypes::ProcessingInstructionCast; -use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, Root}; -use dom::bindings::js::RootedReference; +use dom::bindings::js::{JS, JSRef, OptionalRootable, Root, Rootable}; +use dom::bindings::js::{RootedReference, Temporary}; use dom::bindings::trace::RootedVec; use dom::characterdata::CharacterDataHelpers; use dom::comment::Comment; |