diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 23:45:06 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 45f7199eee82c66637ec68287eafa40a651001c4 (patch) | |
tree | 8c0802f4ac7b89c2ce4d73063c8f65b9ee5face9 /components/script/test.rs | |
parent | 86f148fb97601413c0d983f21b760d973ade7a75 (diff) | |
download | servo-45f7199eee82c66637ec68287eafa40a651001c4.tar.gz servo-45f7199eee82c66637ec68287eafa40a651001c4.zip |
`cargo fix --edition`
Diffstat (limited to 'components/script/test.rs')
-rw-r--r-- | components/script/test.rs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/components/script/test.rs b/components/script/test.rs index 5dd75edad8f..7b87cb71f8c 100644 --- a/components/script/test.rs +++ b/components/script/test.rs @@ -2,28 +2,28 @@ * 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/. */ -pub use dom::bindings::str::{ByteString, DOMString}; -pub use dom::headers::normalize_value; +pub use crate::dom::bindings::str::{ByteString, DOMString}; +pub use crate::dom::headers::normalize_value; // For compile-fail tests only. -pub use dom::bindings::cell::DomRefCell; -pub use dom::bindings::root::Dom; -pub use dom::node::Node; -pub use dom::bindings::refcounted::TrustedPromise; +pub use crate::dom::bindings::cell::DomRefCell; +pub use crate::dom::bindings::root::Dom; +pub use crate::dom::node::Node; +pub use crate::dom::bindings::refcounted::TrustedPromise; pub mod area { - pub use dom::htmlareaelement::{Area, Shape}; + pub use crate::dom::htmlareaelement::{Area, Shape}; } pub mod size_of { - use dom::characterdata::CharacterData; - use dom::element::Element; - use dom::eventtarget::EventTarget; - use dom::htmldivelement::HTMLDivElement; - use dom::htmlelement::HTMLElement; - use dom::htmlspanelement::HTMLSpanElement; - use dom::node::Node; - use dom::text::Text; + use crate::dom::characterdata::CharacterData; + use crate::dom::element::Element; + use crate::dom::eventtarget::EventTarget; + use crate::dom::htmldivelement::HTMLDivElement; + use crate::dom::htmlelement::HTMLElement; + use crate::dom::htmlspanelement::HTMLSpanElement; + use crate::dom::node::Node; + use crate::dom::text::Text; use std::mem::size_of; pub fn CharacterData() -> usize { @@ -60,9 +60,9 @@ pub mod size_of { } pub mod srcset { - pub use dom::htmlimageelement::{parse_a_srcset_attribute, ImageSource, Descriptor}; + pub use crate::dom::htmlimageelement::{parse_a_srcset_attribute, ImageSource, Descriptor}; } pub mod timeranges { - pub use dom::timeranges::TimeRangesContainer; + pub use crate::dom::timeranges::TimeRangesContainer; } |