summaryrefslogtreecommitdiffstats
path: root/src/color
diff options
context:
space:
mode:
Diffstat (limited to 'src/color')
-rw-r--r--src/color/source.rs2
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,
}
}
}