2 Checks for casts between numerical types that may
3 truncate large values. This is expected behavior, so the cast is `Allow` by
7 In some problem domains, it is good practice to avoid
8 truncation. This lint can be activated to help assess where additional
9 checks could be beneficial.
13 fn as_u8(x: u64) -> u8 {