From 941309aed230d7110bfec0d4af502ecb4648cf90 Mon Sep 17 00:00:00 2001 From: TheEggShark Date: Sun, 3 Dec 2023 16:23:17 -0600 Subject: [PATCH] fixed cargo fmt errors --- src/text_render.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/text_render.rs b/src/text_render.rs index bc8b7b6..a1395d3 100644 --- a/src/text_render.rs +++ b/src/text_render.rs @@ -109,8 +109,11 @@ impl TextRenderer { { atlas.color_atlas.promote(physical_glyph.cache_key); } else { - let Some(image) = cache - .get_image_uncached(font_system, physical_glyph.cache_key) else { continue }; + let Some(image) = + cache.get_image_uncached(font_system, physical_glyph.cache_key) + else { + continue; + }; let content_type = match image.content { SwashContent::Color => ContentType::Color,