Skip to content

Commit

Permalink
Fix clippy::empty_line_after_doc_comments lint (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Oct 3, 2024
1 parent 7194487 commit 63eb88b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bezpath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,6 @@ impl<I: Iterator<Item = PathEl>> Iterator for Segments<I> {
impl<I: Iterator<Item = PathEl>> Segments<I> {
/// Here, `accuracy` specifies the accuracy for each Bézier segment. At worst,
/// the total error is `accuracy` times the number of Bézier segments.

// TODO: pub? Or is this subsumed by method of &[PathEl]?
pub(crate) fn perimeter(self, accuracy: f64) -> f64 {
self.map(|seg| seg.arclen(accuracy)).sum()
Expand Down

0 comments on commit 63eb88b

Please sign in to comment.