Skip to content

Commit acd2525

Browse files
committed
add #inline
1 parent 633a046 commit acd2525

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)