Fix typo: changed seperator to separator (#31685)

This commit is contained in:
Munish Mummadi 2024-03-15 04:42:32 -05:00 committed by GitHub
parent 884d024957
commit 55250dd8a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())) {