Remove redundant type annotation

This commit is contained in:
Hanno Braun 2025-02-21 20:41:16 +01:00
parent ff386ae051
commit 790a3c3c5c

View File

@ -59,7 +59,7 @@ fn triangles(vertices: &[Handle<Vertex>], surface: &Plane) -> Vec<Triangle> {
triangle.vertices().map(|vertex| vertex.data().point_vertex);
Triangle { points }
})
.collect::<Vec<_>>()
.collect()
}
struct TriangulationPoint {