mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-13 14:28:27 +00:00
Rename type parameter to increase clarity
This commit is contained in:
parent
71a0bb7a33
commit
b9fe448670
@ -20,13 +20,13 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<T, const D: usize> ops::Add<T> for Vector<D>
|
||||
impl<V, const D: usize> ops::Add<V> for Vector<D>
|
||||
where
|
||||
T: Into<Vector<D>>,
|
||||
V: Into<Vector<D>>,
|
||||
{
|
||||
type Output = Self;
|
||||
|
||||
fn add(self, other: T) -> Self::Output {
|
||||
fn add(self, other: V) -> Self::Output {
|
||||
let other = other.into();
|
||||
|
||||
let components = self
|
||||
|
Loading…
Reference in New Issue
Block a user