diff options
Diffstat (limited to 'src/color/source.rs')
-rw-r--r-- | src/color/source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color/source.rs b/src/color/source.rs index 00a6326..5cc9631 100644 --- a/src/color/source.rs +++ b/src/color/source.rs @@ -55,7 +55,7 @@ impl From<RgbImage> for ImageColors { fn from(image: RgbImage) -> Self { Self { dims: [image.width() as usize, image.height() as usize], - image: image, + image, } } } |