Remove Mul implementation for Vector

This commit is contained in:
Héctor Ramón Jiménez 2020-01-07 04:56:32 +01:00
parent 3e3f426af8
commit f7a8b6983c

View File

@ -32,17 +32,6 @@ where
}
}
impl<T> std::ops::Mul for Vector<T>
where
T: std::ops::Mul<Output = T>,
{
type Output = Self;
fn mul(self, b: Self) -> Self {
Self::new(self.x * b.x, self.y * b.y)
}
}
impl<T> Default for Vector<T>
where
T: Default,