Re:Rust 1.45
by 95th on Friday July 17, 2020 @01:49AM
(#23867481)
Then what do you propose for replacement? C++ style casts `(int) x` ?
[ Parent
| on HN ]
into()/try_into() and methods designed for each of the other cases (e.g. truncate(), saturating_to_int(), approx_to_float(), etc.)