From 55250dd8a6317df875ff4931dd090d7a968b88e9 Mon Sep 17 00:00:00 2001 From: Munish Mummadi <141582088+MunishMummadi@users.noreply.github.com> Date: Fri, 15 Mar 2024 04:42:32 -0500 Subject: [PATCH] Fix typo: changed seperator to separator (#31685) --- components/gfx/text/glyph.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs index 976fe012336..3b42af4b4d5 100644 --- a/components/gfx/text/glyph.rs +++ b/components/gfx/text/glyph.rs @@ -482,11 +482,11 @@ impl<'a> GlyphStore { pub fn finalize_changes(&mut self) { self.detail_store.ensure_sorted(); - self.cache_total_advance_and_word_seperators() + self.cache_total_advance_and_word_separators() } #[inline(never)] - fn cache_total_advance_and_word_seperators(&mut self) { + fn cache_total_advance_and_word_separators(&mut self) { let mut total_advance = Au(0); let mut total_word_separators = 0; for glyph in self.iter_glyphs_for_byte_range(&Range::new(ByteIndex(0), self.len())) {