From 86e63dbf42276401b9bdfd923317768bc70b3608 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 18 Dec 2023 17:34:10 +0000 Subject: [PATCH] layout-normalizer: fix clippy, VariationStoreBuilder::new(0) VariationStoreBuilder::new now wants a region_count --- layout-normalizer/src/gpos/marks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout-normalizer/src/gpos/marks.rs b/layout-normalizer/src/gpos/marks.rs index 8c01e1581..1f4806826 100644 --- a/layout-normalizer/src/gpos/marks.rs +++ b/layout-normalizer/src/gpos/marks.rs @@ -262,7 +262,7 @@ mod tests { } fn build_exactly_one_subtable(self) -> MarkBasePosFormat1 { - let mut varstore = VariationStoreBuilder::new(); + let mut varstore = VariationStoreBuilder::new(0); let subs = self.build(&mut varstore); assert_eq!(subs.len(), 1); subs.into_iter().next().unwrap()