From 445250375e7bf1e1b1880c76484f0cb5f8e90df2 Mon Sep 17 00:00:00 2001 From: "Austin M. Reppert" Date: Tue, 19 Nov 2024 19:15:44 -0500 Subject: [PATCH] Format. --- examples/cosmic_text/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/cosmic_text/src/main.rs b/examples/cosmic_text/src/main.rs index 941488334..7f69efb42 100644 --- a/examples/cosmic_text/src/main.rs +++ b/examples/cosmic_text/src/main.rs @@ -41,7 +41,7 @@ struct BufferGlyphRun { struct BufferGlyphs { font_size: f32, - glyphs: Vec + glyphs: Vec, } struct SimpleVelloApp<'s> { @@ -334,7 +334,7 @@ fn create_glyphs(buffer: &Buffer) -> BufferGlyphs { }; let mut current_glyphs: Vec = vec![]; - + for layout_run in buffer.layout_runs() { let line_y = layout_run.line_y as f64; @@ -367,6 +367,5 @@ fn create_glyphs(buffer: &Buffer) -> BufferGlyphs { } } - buffer_glyphs }