Closed
Description
Rust doesn't have implicit widening, so casts that are lossy (not necessarily safe) look just like casts that are 100% safe. Instead of using the as
operator for widening casts, we should use (and create, if necessary) functions that safely do widening conversions, and use those. Then the use of as
would be limited to only those functions.
This depends on #4.