Remove Mul implementation for Vector
This commit is contained in:
parent
3e3f426af8
commit
f7a8b6983c
1 changed files with 0 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue