diff --git a/src/font.rs b/src/font.rs index f2aa1c281..f596af0f8 100644 --- a/src/font.rs +++ b/src/font.rs @@ -409,12 +409,8 @@ struct Subsetter<'d> { } impl<'d> Subsetter<'d> { - fn subset(mut self, needed_tables: I1, optional_tables: I2) - -> FontResult - where - I1: IntoIterator, S1: AsRef, - I2: IntoIterator, S2: AsRef - { + fn subset(mut self, needed_tables: I, optional_tables: I) -> FontResult + where I: IntoIterator, S: AsRef { // Find out which glyphs to include based on which characters we want // and which glyphs are used by composition. self.build_glyphs()?;