diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-05-09 19:12:32 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-05-10 12:43:06 +0200 |
commit | db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04 (patch) | |
tree | 58fae3d37299c0986141ba88a106066716a518a1 /components/style/gecko | |
parent | f429c28f23bb21812deb042bf50e4bf16b9e1f1b (diff) | |
download | servo-db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04.tar.gz servo-db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04.zip |
style: Rustfmt + build fix.
Diffstat (limited to 'components/style/gecko')
-rw-r--r-- | components/style/gecko/conversions.rs | 6 | ||||
-rw-r--r-- | components/style/gecko/values.rs | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/components/style/gecko/conversions.rs b/components/style/gecko/conversions.rs index 607c7388c3d..43082a7c04a 100644 --- a/components/style/gecko/conversions.rs +++ b/components/style/gecko/conversions.rs @@ -536,12 +536,10 @@ pub mod basic_shape { StyleGeometryBox, StyleShapeSource, StyleShapeSourceType, }; use crate::gecko_bindings::sugar::refptr::RefPtr; - use crate::values::computed::basic_shape::{ - BasicShape, ClippingShape, FloatAreaShape, - }; + use crate::values::computed::basic_shape::{BasicShape, ClippingShape, FloatAreaShape}; use crate::values::computed::motion::OffsetPath; use crate::values::computed::url::ComputedUrl; - use crate::values::generics::basic_shape::{Path, GeometryBox, ShapeBox, ShapeSource}; + use crate::values::generics::basic_shape::{GeometryBox, Path, ShapeBox, ShapeSource}; use crate::values::specified::SVGPathData; impl StyleShapeSource { diff --git a/components/style/gecko/values.rs b/components/style/gecko/values.rs index ba2074d8fdc..98fe90fe3d0 100644 --- a/components/style/gecko/values.rs +++ b/components/style/gecko/values.rs @@ -7,8 +7,8 @@ //! Different kind of helpers to interact with Gecko values. use crate::counter_style::{Symbol, Symbols}; -use crate::gecko_bindings::structs::{nsStyleCoord, CounterStylePtr}; use crate::gecko_bindings::structs::StyleGridTrackBreadth; +use crate::gecko_bindings::structs::{nsStyleCoord, CounterStylePtr}; use crate::gecko_bindings::sugar::ns_style_coord::{CoordData, CoordDataMut, CoordDataValue}; use crate::values::computed::{Angle, Length, LengthPercentage}; use crate::values::computed::{Number, NumberOrPercentage, Percentage}; |