1 2 3 4 5 6 7 8 9 10 11
# assert_into For when writing .try_into().unwrap() feels to long. ```rust fn main() { let a: u32 = (-1i32).assert_into(); } ``` Gives you: thread 'main' panicked at '-1 is out of range for type u32 (TryFromIntError(()))', src/main.rs:19:13