Skip to content

Commit

Permalink
Update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jun 30, 2022
1 parent 4f49856 commit c88371f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/fj-kernel/src/objects/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ impl Edge<3> {
pub fn line_segment_from_points(
vertices: [impl Into<Point<3>>; 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)
Expand Down

0 comments on commit c88371f

Please sign in to comment.