From c88371f49416505bd4c2bbb9320cea17953b866e Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 30 Jun 2022 12:30:47 +0200 Subject: [PATCH] Update variable names --- crates/fj-kernel/src/objects/edge.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/fj-kernel/src/objects/edge.rs b/crates/fj-kernel/src/objects/edge.rs index 303d5d443..490ab709e 100644 --- a/crates/fj-kernel/src/objects/edge.rs +++ b/crates/fj-kernel/src/objects/edge.rs @@ -76,9 +76,9 @@ impl Edge<3> { pub fn line_segment_from_points( vertices: [impl Into>; 2], ) -> Self { - let vertices = vertices.map(|point| { - let point = point.into(); - GlobalVertex::from_position(point) + let vertices = vertices.map(|position| { + let position = position.into(); + GlobalVertex::from_position(position) }); Self::line_segment_from_vertices(vertices)