Diffstat (limited to 'src/ordered.rs')
| -rw-r--r-- | src/ordered.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ordered.rs b/src/ordered.rs index 9682273..854b436 100644 --- a/src/ordered.rs +++ b/src/ordered.rs @@ -198,7 +198,7 @@ where dither_with::<1024, C>( image, |((x, y), p)| unsafe { - let [noise] = BLUE.pixel(x as u32, y as u32); + let &[noise] = BLUE.pixel(x as u32, y as u32); palette.nearest(p.map(|x| triangle(x, noise))) as u32 }, palette, |