Bug 1459403: Trivial cleanup. r?hiro
MozReview-Commit-ID: K7zVYGiYAn6
--- 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.