From fde1b19d1c0b05145213b9da2f5c2504902a5b6d Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Wed, 20 Dec 2023 16:48:34 +0000 Subject: [PATCH] remove stray clone() --- write-fonts/src/tables/gvar.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/write-fonts/src/tables/gvar.rs b/write-fonts/src/tables/gvar.rs index cbd42a80a..a6a1f9dce 100644 --- a/write-fonts/src/tables/gvar.rs +++ b/write-fonts/src/tables/gvar.rs @@ -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),