File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ def emit_util_mod(f):
229
229
#[inline]
230
230
fn is_alphabetic(c: char) -> bool {
231
231
match c {
232
- 'a' ... 'z' | 'A' ... 'Z' => true,
232
+ 'a' ..= 'z' | 'A' ..= 'Z' => true,
233
233
c if c > '\x7f ' => super::derived_property::Alphabetic(c),
234
234
_ => false,
235
235
}
@@ -238,7 +238,7 @@ def emit_util_mod(f):
238
238
#[inline]
239
239
fn is_numeric(c: char) -> bool {
240
240
match c {
241
- '0' ... '9' => true,
241
+ '0' ..= '9' => true,
242
242
c if c > '\x7f ' => super::general_category::N(c),
243
243
_ => false,
244
244
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pub mod util {
30
30
#[ inline]
31
31
fn is_alphabetic ( c : char ) -> bool {
32
32
match c {
33
- 'a' ... 'z' | 'A' ... 'Z' => true ,
33
+ 'a' ..= 'z' | 'A' ..= 'Z' => true ,
34
34
c if c > '' => super :: derived_property:: Alphabetic ( c) ,
35
35
_ => false ,
36
36
}
@@ -39,7 +39,7 @@ pub mod util {
39
39
#[ inline]
40
40
fn is_numeric ( c : char ) -> bool {
41
41
match c {
42
- '0' ... '9' => true ,
42
+ '0' ..= '9' => true ,
43
43
c if c > '' => super :: general_category:: N ( c) ,
44
44
_ => false ,
45
45
}
You can’t perform that action at this time.
0 commit comments