aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/values/generics/rect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/values/generics/rect.rs')
-rw-r--r--components/style/values/generics/rect.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/components/style/values/generics/rect.rs b/components/style/values/generics/rect.rs
index fb67e48a395..510cb75a6f8 100644
--- a/components/style/values/generics/rect.rs
+++ b/components/style/values/generics/rect.rs
@@ -11,8 +11,17 @@ use style_traits::{CssWriter, ParseError, ToCss};
/// A CSS value made of four components, where its `ToCss` impl will try to
/// serialize as few components as possible, like for example in `border-width`.
-#[derive(Animate, Clone, ComputeSquaredDistance, Copy, Debug, MallocSizeOf,
- PartialEq, SpecifiedValueInfo, ToComputedValue)]
+#[derive(
+ Animate,
+ Clone,
+ ComputeSquaredDistance,
+ Copy,
+ Debug,
+ MallocSizeOf,
+ PartialEq,
+ SpecifiedValueInfo,
+ ToComputedValue,
+)]
pub struct Rect<T>(pub T, pub T, pub T, pub T);
impl<T> Rect<T> {