mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix typo: changed seperator to separator (#31685)
This commit is contained in:
parent
884d024957
commit
55250dd8a6
1 changed files with 2 additions and 2 deletions
|
@ -482,11 +482,11 @@ impl<'a> GlyphStore {
|
||||||
|
|
||||||
pub fn finalize_changes(&mut self) {
|
pub fn finalize_changes(&mut self) {
|
||||||
self.detail_store.ensure_sorted();
|
self.detail_store.ensure_sorted();
|
||||||
self.cache_total_advance_and_word_seperators()
|
self.cache_total_advance_and_word_separators()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(never)]
|
#[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_advance = Au(0);
|
||||||
let mut total_word_separators = 0;
|
let mut total_word_separators = 0;
|
||||||
for glyph in self.iter_glyphs_for_byte_range(&Range::new(ByteIndex(0), self.len())) {
|
for glyph in self.iter_glyphs_for_byte_range(&Range::new(ByteIndex(0), self.len())) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue