(Clippy fixes across the board)

This commit is contained in:
Ivan Smirnov 2021-12-31 13:37:56 +03:00
commit 637ac22a99
7 changed files with 61 additions and 69 deletions

View file

@ -35,7 +35,7 @@ impl Default for ColorSpace {
impl From<ColorSpace> for u8 {
#[inline]
fn from(colorspace: ColorSpace) -> Self {
colorspace as u8
colorspace as Self
}
}