Skip to content

Commit

Permalink
remove stray clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Dec 20, 2023
1 parent e15bd01 commit fde1b19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion write-fonts/src/tables/gvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ impl GlyphVariations {
// so that we match the behavior of fonttools
let (pts, _) = max_by_first_key(
point_number_counts
.clone()
.into_iter()
// no use sharing points if they only occur once
.filter(|(_, (_, count))| *count > 1),
Expand Down

0 comments on commit fde1b19

Please sign in to comment.