Skip to content

Commit c469e87

Browse files
authored
Merge pull request #42 from trivikr/allow_ellipsis_inclusive_range_patterns
Allows ellipsis_inclusive_range_patterns
2 parents 7c23cc9 + cc442c3 commit c469e87

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/normalize.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ pub(crate) fn hangul_decomposition_length(s: char) -> usize {
119119
// Compose a pair of Hangul Jamo
120120
#[allow(unsafe_code)]
121121
#[inline(always)]
122+
#[allow(ellipsis_inclusive_range_patterns)]
122123
fn compose_hangul(a: char, b: char) -> Option<char> {
123124
let (a, b) = (a as u32, b as u32);
124125
match (a, b) {

src/tables.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19217,6 +19217,7 @@ pub(crate) const COMBINING_MARK_KV: &[u32] = &[
1921719217

1921819218

1921919219
#[inline]
19220+
#[allow(ellipsis_inclusive_range_patterns)]
1922019221
pub fn qc_nfc(c: char) -> IsNormalized {
1922119222
match c {
1922219223
'\u{0340}'...'\u{0341}' => No,
@@ -19340,6 +19341,7 @@ pub fn qc_nfc(c: char) -> IsNormalized {
1934019341
}
1934119342

1934219343
#[inline]
19344+
#[allow(ellipsis_inclusive_range_patterns)]
1934319345
pub fn qc_nfkc(c: char) -> IsNormalized {
1934419346
match c {
1934519347
'\u{00A0}' => No,
@@ -19776,6 +19778,7 @@ pub fn qc_nfkc(c: char) -> IsNormalized {
1977619778
}
1977719779

1977819780
#[inline]
19781+
#[allow(ellipsis_inclusive_range_patterns)]
1977919782
pub fn qc_nfd(c: char) -> IsNormalized {
1978019783
match c {
1978119784
'\u{00C0}'...'\u{00C5}' => No,
@@ -20025,6 +20028,7 @@ pub fn qc_nfd(c: char) -> IsNormalized {
2002520028
}
2002620029

2002720030
#[inline]
20031+
#[allow(ellipsis_inclusive_range_patterns)]
2002820032
pub fn qc_nfkd(c: char) -> IsNormalized {
2002920033
match c {
2003020034
'\u{00A0}' => No,

0 commit comments

Comments
 (0)