From f7a8b6983c2af491803bf84f341d8069045ffb5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 7 Jan 2020 04:56:32 +0100 Subject: [PATCH] Remove `Mul` implementation for `Vector` --- core/src/vector.rs | 11 ----------- 1 file changed, 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 std::ops::Mul for Vector -where - T: std::ops::Mul, -{ - type Output = Self; - - fn mul(self, b: Self) -> Self { - Self::new(self.x * b.x, self.y * b.y) - } -} - impl Default for Vector where T: Default,