diff --git a/src/shape.rs b/src/shape.rs index 37c219d2a0..9ce585d951 100644 --- a/src/shape.rs +++ b/src/shape.rs @@ -265,7 +265,7 @@ fn shape_skip( let fonts = font_system.get_font_matches(attrs); let default_families = [&attrs.family]; - let mut font_iter = FontFallbackIter::new(font_system, &fonts, &default_families, vec![]); + let mut font_iter = FontFallbackIter::new(font_system, &fonts, &default_families, Vec::new()); let font = font_iter.next().expect("no default font found"); let font_id = font.id();