From daf4cb1eb87521f9ac7644433f594b410dfce550 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 6 Oct 2022 16:13:44 -0600 Subject: [PATCH] Remove prints --- examples/text/src/font/matches.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/text/src/font/matches.rs b/examples/text/src/font/matches.rs index de105ead..80495d55 100644 --- a/examples/text/src/font/matches.rs +++ b/examples/text/src/font/matches.rs @@ -132,17 +132,10 @@ impl<'a> FontMatches<'a> { //TODO: improve performance for (linebreak, _) in unicode_linebreak::linebreaks(span) { - println!("linebreak {}", linebreak); let mut glyphs_opt = None; 'words: for word_i in 0..words.len() { for glyph_i in 0..words[word_i].glyphs.len() { if words[word_i].glyphs[glyph_i].start == start_span + linebreak { - println!("glyph {}", words[word_i].glyphs[glyph_i].start); - println!("word '{}'", &line[ - words[word_i].glyphs[0].start - .. - words[word_i].glyphs[glyph_i].start - ]); glyphs_opt = Some(words[word_i].glyphs.split_off(glyph_i)); break 'words; }