diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-12-14 08:31:30 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-12-28 13:17:47 +0100 |
commit | be69f9c3e6a6f5efb5ba1edd50955cb12c111bf8 (patch) | |
tree | db8be2dfee5cff6ef0c42e8d46c623eb87529e5a /components/layout/query.rs | |
parent | 82fc6d9f49a657e2857da3f1b22140e3b6efdf09 (diff) | |
download | servo-be69f9c3e6a6f5efb5ba1edd50955cb12c111bf8.tar.gz servo-be69f9c3e6a6f5efb5ba1edd50955cb12c111bf8.zip |
Rustfmt has changed its default style :/
Diffstat (limited to 'components/layout/query.rs')
-rw-r--r-- | components/layout/query.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/query.rs b/components/layout/query.rs index d7801c389da..60d1719e13a 100644 --- a/components/layout/query.rs +++ b/components/layout/query.rs @@ -4,7 +4,6 @@ //! Utilities for querying the layout, as needed by the layout thread. -use app_units::Au; use crate::construct::ConstructionResult; use crate::context::LayoutContext; use crate::display_list::items::{DisplayList, OpaqueNode, ScrollOffsetMap}; @@ -15,6 +14,7 @@ use crate::inline::InlineFragmentNodeFlags; use crate::opaque_node::OpaqueNodeMethods; use crate::sequential; use crate::wrapper::LayoutNodeLayoutData; +use app_units::Au; use euclid::{Point2D, Rect, Size2D, Vector2D}; use ipc_channel::ipc::IpcSender; use msg::constellation_msg::PipelineId; @@ -777,7 +777,7 @@ where // so this should be web-compatible. PropertyId::ShorthandAlias(..) | PropertyId::Shorthand(_) => return String::new(), PropertyId::Custom(ref name) => { - return style.computed_value_to_string(PropertyDeclarationId::Custom(name)) + return style.computed_value_to_string(PropertyDeclarationId::Custom(name)); }, }; @@ -825,7 +825,7 @@ where // so this should be web-compatible. PropertyId::ShorthandAlias(..) | PropertyId::Shorthand(_) => return String::new(), PropertyId::Custom(ref name) => { - return style.computed_value_to_string(PropertyDeclarationId::Custom(name)) + return style.computed_value_to_string(PropertyDeclarationId::Custom(name)); }, }; |