Skip to content

Commit

Permalink
Convert decimal digits lookup table to static
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 20, 2024
1 parent c52d467 commit b5415a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ mod private {
}
}

const DEC_DIGITS_LUT: &[u8] = b"\
static DEC_DIGITS_LUT: [u8; 200] = *b"\
0001020304050607080910111213141516171819\
2021222324252627282930313233343536373839\
4041424344454647484950515253545556575859\
Expand Down

0 comments on commit b5415a8

Please sign in to comment.