Bug 1459403: Trivial cleanup. r?hiro draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 26 May 2018 23:35:52 +0200
changeset 800289 f4840aba0f83041c356072ae80bcda1d8f341909
parent 800288 a41ebfdf84ad2ebaa100952a9ebce5cd9eb9ab14
child 800290 25e43f6e6f55d1c81c8961e247aa4336c1258173
push id111313
push userbmo:emilio@crisal.io
push dateSat, 26 May 2018 22:11:01 +0000
reviewershiro
bugs1459403
milestone62.0a1
Bug 1459403: Trivial cleanup. r?hiro MozReview-Commit-ID: K7zVYGiYAn6
servo/components/style/properties/helpers/animated_properties.mako.rs
--- a/servo/components/style/properties/helpers/animated_properties.mako.rs
+++ b/servo/components/style/properties/helpers/animated_properties.mako.rs
@@ -1499,20 +1499,20 @@ impl Animate for MatrixDecomposed2D {
 
         // Interpolate all values.
         let translate = self.translate.animate(&other.translate, procedure)?;
         let scale = scale.animate(&other.scale, procedure)?;
         let angle = angle.animate(&other_angle, procedure)?;
         let matrix = self.matrix.animate(&other.matrix, procedure)?;
 
         Ok(MatrixDecomposed2D {
-            translate: translate,
-            scale: scale,
-            angle: angle,
-            matrix: matrix,
+            translate,
+            scale,
+            angle,
+            matrix,
         })
     }
 }
 
 impl ComputeSquaredDistance for MatrixDecomposed2D {
     #[inline]
     fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()> {
         // Use Radian to compute the distance.