1
1
// NOTE: The following code was generated by "src/libcore/unicode/printable.py",
2
2
// do not edit directly!
3
3
4
- fn check ( x : u16 , singletonuppers : & [ ( u8 , u8 ) ] , singletonlowers : & [ u8 ] ,
5
- normal : & [ u8 ] ) -> bool {
4
+ fn check ( x : u16 , singletonuppers : & [ ( u8 , u8 ) ] , singletonlowers : & [ u8 ] , normal : & [ u8 ] ) -> bool {
6
5
let xupper = ( x >> 8 ) as u8 ;
7
6
let mut lowerstart = 0 ;
8
7
for & ( upper, lowercount) in singletonuppers {
@@ -70,6 +69,7 @@ pub(crate) fn is_printable(x: char) -> bool {
70
69
}
71
70
}
72
71
72
+ #[ rustfmt:: skip]
73
73
const SINGLETONS0U : & [ ( u8 , u8 ) ] = & [
74
74
( 0x00 , 1 ) ,
75
75
( 0x03 , 5 ) ,
@@ -113,6 +113,7 @@ const SINGLETONS0U: &[(u8, u8)] = &[
113
113
( 0xfe , 3 ) ,
114
114
( 0xff , 9 ) ,
115
115
] ;
116
+ #[ rustfmt:: skip]
116
117
const SINGLETONS0L : & [ u8 ] = & [
117
118
0xad , 0x78 , 0x79 , 0x8b , 0x8d , 0xa2 , 0x30 , 0x57 ,
118
119
0x58 , 0x8b , 0x8c , 0x90 , 0x1c , 0x1d , 0xdd , 0x0e ,
@@ -152,6 +153,7 @@ const SINGLETONS0L: &[u8] = &[
152
153
0xff , 0x53 , 0x67 , 0x75 , 0xc8 , 0xc9 , 0xd0 , 0xd1 ,
153
154
0xd8 , 0xd9 , 0xe7 , 0xfe , 0xff ,
154
155
] ;
156
+ #[ rustfmt:: skip]
155
157
const SINGLETONS1U : & [ ( u8 , u8 ) ] = & [
156
158
( 0x00 , 6 ) ,
157
159
( 0x01 , 1 ) ,
@@ -189,6 +191,7 @@ const SINGLETONS1U: &[(u8, u8)] = &[
189
191
( 0xf9 , 6 ) ,
190
192
( 0xfa , 2 ) ,
191
193
] ;
194
+ #[ rustfmt:: skip]
192
195
const SINGLETONS1L : & [ u8 ] = & [
193
196
0x0c , 0x27 , 0x3b , 0x3e , 0x4e , 0x4f , 0x8f , 0x9e ,
194
197
0x9e , 0x9f , 0x06 , 0x07 , 0x09 , 0x36 , 0x3d , 0x3e ,
@@ -212,6 +215,7 @@ const SINGLETONS1L: &[u8] = &[
212
215
0xa4 , 0xaa , 0xaf , 0xb0 , 0xc0 , 0xd0 , 0x0c , 0x72 ,
213
216
0xa3 , 0xa4 , 0xcb , 0xcc , 0x6e , 0x6f ,
214
217
] ;
218
+ #[ rustfmt:: skip]
215
219
const NORMAL0 : & [ u8 ] = & [
216
220
0x00 , 0x20 ,
217
221
0x5f , 0x22 ,
@@ -355,6 +359,7 @@ const NORMAL0: &[u8] = &[
355
359
0x1b , 0x03 ,
356
360
0x0f , 0x0d ,
357
361
] ;
362
+ #[ rustfmt:: skip]
358
363
const NORMAL1 : & [ u8 ] = & [
359
364
0x5e , 0x22 ,
360
365
0x7b , 0x05 ,
0 commit comments