4 ms·
only `u8` can be cast as `char`, not `i32` Can someone explain that in basic english?
by Donckele 6y ago
only `u8` can be cast as `char`, not `i32`
Can someone explain that in basic english?
- turndown 6y agoSay you have eight books of equal size on a shelf. It's easy to put these eight books on another shelf of equal size or larger. If you have a shelf holding thirytwo books, it is impossible to fit them all on the smaller shelf, so it's better to simply not do it.
- deleted 6y ago[deleted]
- ChrisSD 6y agoIt can fail. Use `try_into` instead.