aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/animation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/animation.rs')
-rw-r--r--components/style/animation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/animation.rs b/components/style/animation.rs
index 0608668b171..3f1a20c529c 100644
--- a/components/style/animation.rs
+++ b/components/style/animation.rs
@@ -367,7 +367,7 @@ impl AnimatedProperty {
}
}
-trait Interpolate {
+trait Interpolate: Sized {
fn interpolate(&self, other: &Self, time: f64) -> Option<Self>;
}