> the compiler should not complain that the expression is of type u8 and not u16 - it is safe to widen the type!
I'm actually glad it does because it often means there's an error. An explicit type cast is the way to go IMO.
I'm actually glad it does because it often means there's an error. An explicit type cast is the way to go IMO.