diff --git a/experiments/2024-12-09/src/math/point.rs b/experiments/2024-12-09/src/math/point.rs index 9dbc2f8dc..f6df29252 100644 --- a/experiments/2024-12-09/src/math/point.rs +++ b/experiments/2024-12-09/src/math/point.rs @@ -31,14 +31,10 @@ where } } -impl ops::Sub

for Point -where - P: Into>, -{ +impl ops::Sub> for Point { type Output = Vector; - fn sub(self, other: P) -> Self::Output { - let other = other.into(); + fn sub(self, other: Point) -> Self::Output { self.coords - other.coords } }