mirror of
https://github.com/servo/servo.git
synced 2025-08-21 13:25:34 +01:00
Update euclid to 0.10.1
This commit is contained in:
parent
8a75810eba
commit
51768844ed
37 changed files with 281 additions and 280 deletions
|
@ -242,7 +242,7 @@ impl Interpolate for ZIndex {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Interpolate + Clone> Interpolate for Size2D<T> {
|
||||
impl<T: Interpolate + Copy> Interpolate for Size2D<T> {
|
||||
#[inline]
|
||||
fn interpolate(&self, other: &Self, time: f64) -> Result<Self, ()> {
|
||||
let width = try!(self.width.interpolate(&other.width, time));
|
||||
|
@ -252,7 +252,7 @@ impl<T: Interpolate + Clone> Interpolate for Size2D<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Interpolate + Clone> Interpolate for Point2D<T> {
|
||||
impl<T: Interpolate + Copy> Interpolate for Point2D<T> {
|
||||
#[inline]
|
||||
fn interpolate(&self, other: &Self, time: f64) -> Result<Self, ()> {
|
||||
let x = try!(self.x.interpolate(&other.x, time));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue