We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6af157 commit 75df9eaCopy full SHA for 75df9ea
unic/ucd/normal/src/lib.rs
@@ -60,6 +60,8 @@ pub const UNICODE_VERSION: UnicodeVersion = include!("tables/unicode_version.rsv
60
/// for more information.
61
pub fn compose(a: char, b: char) -> Option<char> {
62
hangul::compose(a, b).or_else(|| {
63
- canonical_composition(a).and_then(|table| table.find(b).cloned())
+ canonical_composition(a).and_then(|table| {
64
+ CharDataTable::<&'static char>::find(&table, b).cloned()
65
+ })
66
})
67
}
0 commit comments