From 9bbfb7dc4f18e2c119c3fdb94232a00a41aabc15 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Mon, 11 Dec 2023 15:40:42 -0800 Subject: [PATCH] Fix clippy issue (#2069) --- src/codecs/webp/lossless.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codecs/webp/lossless.rs b/src/codecs/webp/lossless.rs index 7271eda902..c26ef220fb 100644 --- a/src/codecs/webp/lossless.rs +++ b/src/codecs/webp/lossless.rs @@ -311,7 +311,7 @@ impl LosslessDecoder { } /// Adjusts the color map since it's subtraction coded - fn adjust_color_map(color_map: &mut Vec) { + fn adjust_color_map(color_map: &mut [u32]) { for i in 1..color_map.len() { color_map[i] = add_pixels(color_map[i], color_map[i - 1]); }