aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/html.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-04-27 17:50:50 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-04-28 09:22:45 +0200
commit7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb (patch)
treebb743513a335b0221e0c7c580175c16f7a42c736 /components/script/parse/html.rs
parentd7987e43c944eb9b156bf3244c08fce4cb570db4 (diff)
downloadservo-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.rs4
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;