Skip to content

Commit 9137617

Browse files
committed
add #inline
1 parent 3a4f4d2 commit 9137617

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/unicode/unicode_data.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ pub mod white_space {
555555
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
556556
0, 0, 0, 0, 0, 0, 0, 0, 0,
557557
];
558+
#[inline]
558559
pub fn lookup(c: char) -> bool {
559560
match c as u32 >> 8 {
560561
0 => WHITESPACE_MAP[c as usize & 0xff] & 1 != 0,

0 commit comments

Comments
 (0)