Skip to content

Commit

Permalink
fixed cargo fmt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
EggShark authored and grovesNL committed Dec 19, 2023
1 parent f13c5f0 commit 941309a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/text_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 941309a

Please sign in to comment.