Skip to content

Commit

Permalink
Change decimal digits lookup table from static to const
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 20, 2024
1 parent d39d767 commit 09a06f6
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 {
}
}

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

0 comments on commit 09a06f6

Please sign in to comment.