Skip to content

Commit

Permalink
elim warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Aug 14, 2024
1 parent 093444d commit 3cf571f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jagua-rs/src/geometry/primitives/circle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Circle {
}

/// Returns the smallest possible circle that fully contains all ```circles```
pub fn bounding_circle<'a>(mut circles: impl IntoIterator<Item = &'a Circle>) -> Circle {
pub fn bounding_circle<'a>(circles: impl IntoIterator<Item = &'a Circle>) -> Circle {
let mut circles = circles.into_iter();
let mut bounding_circle = circles.next().expect("no circles provided").clone();

Expand Down

0 comments on commit 3cf571f

Please sign in to comment.