File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -344,24 +344,28 @@ def gen_qc_match(prop_table, out):
344
344
345
345
def gen_nfc_qc (prop_tables , out ):
346
346
out .write ("#[inline]\n " )
347
+ out .write ("#[allow(ellipsis_inclusive_range_patterns)]\n " )
347
348
out .write ("pub fn qc_nfc(c: char) -> IsNormalized {\n " )
348
349
gen_qc_match (prop_tables ['NFC_QC' ], out )
349
350
out .write ("}\n " )
350
351
351
352
def gen_nfkc_qc (prop_tables , out ):
352
353
out .write ("#[inline]\n " )
354
+ out .write ("#[allow(ellipsis_inclusive_range_patterns)]\n " )
353
355
out .write ("pub fn qc_nfkc(c: char) -> IsNormalized {\n " )
354
356
gen_qc_match (prop_tables ['NFKC_QC' ], out )
355
357
out .write ("}\n " )
356
358
357
359
def gen_nfd_qc (prop_tables , out ):
358
360
out .write ("#[inline]\n " )
361
+ out .write ("#[allow(ellipsis_inclusive_range_patterns)]\n " )
359
362
out .write ("pub fn qc_nfd(c: char) -> IsNormalized {\n " )
360
363
gen_qc_match (prop_tables ['NFD_QC' ], out )
361
364
out .write ("}\n " )
362
365
363
366
def gen_nfkd_qc (prop_tables , out ):
364
367
out .write ("#[inline]\n " )
368
+ out .write ("#[allow(ellipsis_inclusive_range_patterns)]\n " )
365
369
out .write ("pub fn qc_nfkd(c: char) -> IsNormalized {\n " )
366
370
gen_qc_match (prop_tables ['NFKD_QC' ], out )
367
371
out .write ("}\n " )
You can’t perform that action at this time.
0 commit comments