From b9fe44867038fc28768e65b6073e31a0ee33bd39 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 17 Dec 2024 20:37:35 +0100 Subject: [PATCH] Rename type parameter to increase clarity --- experiments/2024-12-09/src/math/vector.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experiments/2024-12-09/src/math/vector.rs b/experiments/2024-12-09/src/math/vector.rs index f1611d44e..4687721ea 100644 --- a/experiments/2024-12-09/src/math/vector.rs +++ b/experiments/2024-12-09/src/math/vector.rs @@ -20,13 +20,13 @@ where } } -impl ops::Add for Vector +impl ops::Add for Vector where - T: Into>, + V: Into>, { type Output = Self; - fn add(self, other: T) -> Self::Output { + fn add(self, other: V) -> Self::Output { let other = other.into(); let components = self