4 ms·Then what do you propose for replacement? C++ style casts `(int) x` ?by 95th 6y agoThen what do you propose for replacement? C++ style casts `(int) x` ?erk__ 6y agoUsing `x.into()` instead or `x.try_into()` if it can fail.devit 6y agointo()/try_into() and methods designed for each of the other cases (e.g. truncate(), saturating_to_int(), approx_to_float(), etc.)