2 ms·
u32::checked_add_signed solves one of the pairs (u32 + i32 -> u32), but there's nothing for the other one (u32 - u32 -> i32).
by jcranmer 4y ago
u32::checked_add_signed solves one of the pairs (u32 + i32 -> u32), but there's nothing for the other one (u32 - u32 -> i32).
- tialaramex 4y agoGood point, I'm sure this made sense to me when I wrote it, but I can't ask past me why.