diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-15 12:21:03 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-15 15:33:56 +0200 |
commit | a665fec9d0b7a69640c618cc74d2162274e2f5eb (patch) | |
tree | c964b244b7cc44e8864da96cdbdec197ddac579d /src | |
parent | 954ab7a2e34913bbbbe71963b908a7105d8d69c3 (diff) | |
download | servo-a665fec9d0b7a69640c618cc74d2162274e2f5eb.tar.gz servo-a665fec9d0b7a69640c618cc74d2162274e2f5eb.zip |
Put some 'use' statements in alphabetical order.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/script/dom/comment.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/customevent.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/document.rs | 6 | ||||
-rw-r--r-- | src/components/script/dom/domimplementation.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/domparser.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/file.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/testbinding.rs | 2 | ||||
-rw-r--r-- | src/components/script/dom/text.rs | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/src/components/script/dom/comment.rs b/src/components/script/dom/comment.rs index 47f2cd035a7..3bc9344b4eb 100644 --- a/src/components/script/dom/comment.rs +++ b/src/components/script/dom/comment.rs @@ -4,8 +4,8 @@ use dom::bindings::codegen::InheritTypes::CommentDerived; use dom::bindings::codegen::Bindings::CommentBinding; -use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::error::Fallible; +use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::utils::{Reflectable, Reflector}; use dom::characterdata::CharacterData; use dom::document::Document; diff --git a/src/components/script/dom/customevent.rs b/src/components/script/dom/customevent.rs index 5d1cf904a7a..965decf2e55 100644 --- a/src/components/script/dom/customevent.rs +++ b/src/components/script/dom/customevent.rs @@ -4,8 +4,8 @@ use dom::bindings::codegen::Bindings::CustomEventBinding; use dom::bindings::codegen::InheritTypes::{EventCast, CustomEventDerived}; -use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::error::Fallible; +use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::trace::Traceable; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::event::{Event, EventMethods, EventTypeId, CustomEventTypeId}; diff --git a/src/components/script/dom/document.rs b/src/components/script/dom/document.rs index b93eb730771..499165e5a26 100644 --- a/src/components/script/dom/document.rs +++ b/src/components/script/dom/document.rs @@ -2,18 +2,18 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use dom::bindings::codegen::Bindings::DocumentBinding; use dom::bindings::codegen::Bindings::EventHandlerBinding::EventHandlerNonNull; use dom::bindings::codegen::InheritTypes::{DocumentDerived, EventCast, HTMLElementCast}; use dom::bindings::codegen::InheritTypes::{HTMLHeadElementCast, TextCast, ElementCast}; use dom::bindings::codegen::InheritTypes::{DocumentTypeCast, HTMLHtmlElementCast, NodeCast}; use dom::bindings::codegen::InheritTypes::EventTargetCast; -use dom::bindings::codegen::Bindings::DocumentBinding; +use dom::bindings::error::{ErrorResult, Fallible, NotSupported, InvalidCharacter}; +use dom::bindings::error::{HierarchyRequest, NamespaceError}; use dom::bindings::js::{JS, JSRef, Temporary, OptionalSettable, TemporaryPushable}; use dom::bindings::js::OptionalRootable; use dom::bindings::trace::{Traceable, Untraceable}; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; -use dom::bindings::error::{ErrorResult, Fallible, NotSupported, InvalidCharacter}; -use dom::bindings::error::{HierarchyRequest, NamespaceError}; use dom::bindings::utils::{xml_name_type, InvalidXMLName, Name, QName}; use dom::comment::Comment; use dom::customevent::CustomEvent; diff --git a/src/components/script/dom/domimplementation.rs b/src/components/script/dom/domimplementation.rs index 2ab75dd5f11..afdd89ffd6a 100644 --- a/src/components/script/dom/domimplementation.rs +++ b/src/components/script/dom/domimplementation.rs @@ -4,9 +4,9 @@ use dom::bindings::codegen::Bindings::DOMImplementationBinding; use dom::bindings::codegen::InheritTypes::NodeCast; +use dom::bindings::error::{Fallible, InvalidCharacter, NamespaceError}; use dom::bindings::js::{JS, JSRef, Root, Temporary, OptionalRootable}; use dom::bindings::utils::{Reflector, Reflectable, reflect_dom_object}; -use dom::bindings::error::{Fallible, InvalidCharacter, NamespaceError}; use dom::bindings::utils::{QName, Name, InvalidXMLName, xml_name_type}; use dom::document::{Document, HTMLDocument, NonHTMLDocument, DocumentMethods}; use dom::documenttype::DocumentType; diff --git a/src/components/script/dom/domparser.rs b/src/components/script/dom/domparser.rs index 7fb45a0fd73..9982e7adcd9 100644 --- a/src/components/script/dom/domparser.rs +++ b/src/components/script/dom/domparser.rs @@ -4,9 +4,9 @@ use dom::bindings::codegen::Bindings::DOMParserBinding; use dom::bindings::codegen::Bindings::DOMParserBinding::SupportedTypeValues::{Text_html, Text_xml}; +use dom::bindings::error::{Fallible, FailureUnknown}; use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::utils::{Reflector, Reflectable, reflect_dom_object}; -use dom::bindings::error::{Fallible, FailureUnknown}; use dom::document::{Document, HTMLDocument, NonHTMLDocument}; use dom::window::Window; use servo_util::str::DOMString; diff --git a/src/components/script/dom/file.rs b/src/components/script/dom/file.rs index 05bd28bcfd4..ea2610c1f2f 100644 --- a/src/components/script/dom/file.rs +++ b/src/components/script/dom/file.rs @@ -2,9 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use dom::bindings::codegen::Bindings::FileBinding; use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; -use dom::bindings::codegen::Bindings::FileBinding; use dom::blob::{Blob, BlobType, FileTypeId}; use dom::window::Window; use servo_util::str::DOMString; diff --git a/src/components/script/dom/testbinding.rs b/src/components/script/dom/testbinding.rs index 832cc97e1d7..2aa7ed36f8e 100644 --- a/src/components/script/dom/testbinding.rs +++ b/src/components/script/dom/testbinding.rs @@ -2,12 +2,12 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::codegen::Bindings::TestBindingBinding::TestEnum; use dom::bindings::codegen::Bindings::TestBindingBinding::TestEnumValues::_empty; use dom::bindings::codegen::UnionTypes::BlobOrString::BlobOrString; use dom::bindings::codegen::UnionTypes::EventOrString::{EventOrString, eString}; use dom::bindings::codegen::UnionTypes::HTMLElementOrLong::{HTMLElementOrLong, eLong}; +use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::str::ByteString; use dom::bindings::utils::{Reflector, Reflectable}; use dom::blob::Blob; diff --git a/src/components/script/dom/text.rs b/src/components/script/dom/text.rs index 6c40437dabd..ece96559640 100644 --- a/src/components/script/dom/text.rs +++ b/src/components/script/dom/text.rs @@ -4,8 +4,8 @@ use dom::bindings::codegen::Bindings::TextBinding; use dom::bindings::codegen::InheritTypes::TextDerived; -use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::error::Fallible; +use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::utils::{Reflectable, Reflector}; use dom::characterdata::CharacterData; use dom::document::Document; |