Clippy's "cast_lossless" Lint Warning
Recently, I was trying out
clippy — a linting and
static analysis tool for Rust, when I ran into a lint warning that wasn’t
immediately clear to me:
warning: casting u8 to u16 may become silently lossy if types change.