Skip to content

Commit

Permalink
harfbuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Sep 19, 2024
1 parent 28984b1 commit f05bcf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffi/harfbuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl GeneralCategoryFunc for AllUnicodeFuncs {
impl CombiningClassFunc for AllUnicodeFuncs {
#[inline]
fn combining_class(&self, ch: char) -> u8 {
CanonicalCombiningClassMapBorrowed::new().get(ch).0
CanonicalCombiningClassMapBorrowed::new().get_u8(ch)
}
}

Expand Down Expand Up @@ -247,7 +247,7 @@ impl CombiningClassData {
impl CombiningClassFunc for CombiningClassData {
#[inline]
fn combining_class(&self, ch: char) -> u8 {
self.ccc.as_borrowed().get(ch).0
self.ccc.as_borrowed().get_u8(ch)
}
}

Expand Down

0 comments on commit f05bcf2

Please sign in to comment.