RustarmanriazimodifiedDatabyCompilerCastNumberi32ToU8

Using type casts carelessly will cause your program to behave unexpectedly. For example, the expression 300_i32 as i8 returns 44. 
*BecauseOf(-): *BecauseOf(?): using as //300-128=172-128=44
ArmanRiazi