From 07c0349e4a2d53e09cb24e4880ae925117bd9524 Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Wed, 7 Jul 2021 07:32:16 +0300 Subject: [PATCH] chore: Fixed formatting --- src/renderer/fonts/caching_shaper.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/renderer/fonts/caching_shaper.rs b/src/renderer/fonts/caching_shaper.rs index 2376491..9b54a09 100644 --- a/src/renderer/fonts/caching_shaper.rs +++ b/src/renderer/fonts/caching_shaper.rs @@ -276,10 +276,7 @@ impl CachingShaper { shaper.shape_with(|glyph_cluster| { for glyph in glyph_cluster.glyphs { - let position = ( - (glyph.data as u64 * glyph_width) as f32, - glyph.y, - ); + let position = ((glyph.data as u64 * glyph_width) as f32, glyph.y); glyph_data.push((glyph.id, position)); } });