Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Jul 12, 2024
1 parent 686d789 commit 16b1cae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jagua-rs/src/geometry/convex_hull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ pub fn convex_hull_indices(shape: &SimplePolygon) -> Vec<usize> {
indices
}

pub fn convex_hull_from_shapes<'a>(shapes: impl IntoIterator<Item=&'a SimplePolygon>) -> Vec<Point> {
pub fn convex_hull_from_shapes<'a>(
shapes: impl IntoIterator<Item = &'a SimplePolygon>,
) -> Vec<Point> {
let mut ch_points = vec![];
for shape in shapes {
if let Some(surr) = shape.surrogate.as_ref() {
Expand Down

0 comments on commit 16b1cae

Please sign in to comment.