Skip to content

Commit 060eb20

Browse files
committed
Use hex literal for INDEX_MASK
1 parent 7e30145 commit 060eb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/unicode/unicode_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ pub mod white_space {
580580

581581
#[rustfmt::skip]
582582
pub mod conversions {
583-
const INDEX_MASK: u32 = 4194304;
583+
const INDEX_MASK: u32 = 0x400000;
584584

585585
pub fn to_lower(c: char) -> [char; 3] {
586586
if c.is_ascii() {

0 commit comments

Comments
 (0)