rust/library/core
bors eeeff9a66c Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
char to_digit: avoid unnecessary casts to u64

Hello,
in the `char::to_digit` method there are a few `as u64` casts that are not strictly necessary.
I assume that the reason behind these casts is to avoid possible overflows in the `+ 10` add.

This PR removes the aforementioned casts, avoiding the overflow issue by slightly modifying the ASCII letter to int mapping.

Thanks,
Happy new year.
2025-01-01 10:54:12 +00:00
..
benches Fix typos 2024-12-27 21:35:57 +08:00
src Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake 2025-01-01 10:54:12 +00:00
tests Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm 2024-12-31 18:49:36 +00:00
Cargo.toml Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 2024-12-03 10:54:08 +00:00