Skip to content

Commit

Permalink
Merge pull request #54 from dtolnay/lut
Browse files Browse the repository at this point in the history
Change decimal digits lookup table from static to const
  • Loading branch information
dtolnay authored Nov 20, 2024
2 parents d39d767 + 09a06f6 commit 513debf
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 513debf

Please sign in to comment.