summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-07 04:56:32 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-07 04:56:32 +0100
commitf7a8b6983c2af491803bf84f341d8069045ffb5e (patch)
tree5de4387dd9f764041e5c7217f77f48a39943d546 /core
parent3e3f426af882d9b19815cb3a8cf7ac6fe65c88ea (diff)
downloadiced-f7a8b6983c2af491803bf84f341d8069045ffb5e.tar.gz
iced-f7a8b6983c2af491803bf84f341d8069045ffb5e.tar.bz2
iced-f7a8b6983c2af491803bf84f341d8069045ffb5e.zip
Remove `Mul` implementation for `Vector`
Diffstat (limited to 'core')
-rw-r--r--core/src/vector.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/src/vector.rs b/core/src/vector.rs
index 75c77dbd..1c09ee3e 100644
--- a/core/src/vector.rs
+++ b/core/src/vector.rs
@@ -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,