diff options
Diffstat (limited to 'components/style/lib.rs')
-rw-r--r-- | components/style/lib.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs index 29df16f6183..6694f776ab8 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -165,15 +165,15 @@ pub mod use_counters; pub mod values; #[cfg(feature = "gecko")] -pub use gecko_string_cache as string_cache; +pub use crate::gecko_string_cache as string_cache; #[cfg(feature = "gecko")] -pub use gecko_string_cache::Atom; +pub use crate::gecko_string_cache::Atom; #[cfg(feature = "gecko")] -pub use gecko_string_cache::Atom as Prefix; +pub use crate::gecko_string_cache::Atom as Prefix; #[cfg(feature = "gecko")] -pub use gecko_string_cache::Atom as LocalName; +pub use crate::gecko_string_cache::Atom as LocalName; #[cfg(feature = "gecko")] -pub use gecko_string_cache::Namespace; +pub use crate::gecko_string_cache::Namespace; #[cfg(feature = "servo")] pub use html5ever::LocalName; @@ -215,17 +215,17 @@ macro_rules! reexport_computed_values { /// [computed]: https://drafts.csswg.org/css-cascade/#computed pub mod computed_values { $( - pub use properties::longhands::$name::computed_value as $name; + pub use crate::properties::longhands::$name::computed_value as $name; )+ // Don't use a side-specific name needlessly: - pub use properties::longhands::border_top_style::computed_value as border_style; + pub use crate::properties::longhands::border_top_style::computed_value as border_style; } } } longhand_properties_idents!(reexport_computed_values); #[cfg(feature = "gecko")] -use gecko_string_cache::WeakAtom; +use crate::gecko_string_cache::WeakAtom; #[cfg(feature = "servo")] use servo_atoms::Atom as WeakAtom; |