diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-05-11 11:33:45 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-05-11 11:33:45 -0400 |
commit | adaafdd7043507cbceae65e78c38954e47103b5c (patch) | |
tree | c8e2b62b2f39e0f2dc7908ca613df92dd7b541c1 /src/color | |
parent | 825515439247853af3714d3135051a83bd84d2e0 (diff) | |
download | kd-forest-adaafdd7043507cbceae65e78c38954e47103b5c.tar.xz |
Fix some clippy lints
Diffstat (limited to 'src/color')
-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, } } } |