Update name of function parameter

This commit is contained in:
Hanno Braun 2025-01-14 20:13:26 +01:00
parent 60fd35774d
commit 1fa73523cc

View File

@ -13,9 +13,9 @@ impl<P> From<[P; 3]> for Triangle
where
P: Into<Point<3>>,
{
fn from(vertices: [P; 3]) -> Self {
fn from(points: [P; 3]) -> Self {
Self {
points: vertices.map(Into::into),
points: points.map(Into::into),
}
}
}