fix(ci): Clippy-Hinweise seit Anhebung der Mindest-Rust-Version
Mit rust-version 1.92 meldet Clippy is_none_or statt map_or(true, …) und as_chunks statt chunks_exact mit fester Größe; die CI bricht bei Warnungen ab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -564,7 +564,9 @@ fn render_pdf_raster(
|
||||
Ok(image) => {
|
||||
let rgb = image
|
||||
.pixels
|
||||
.chunks_exact(4)
|
||||
.as_chunks::<4>()
|
||||
.0
|
||||
.iter()
|
||||
.flat_map(|px| [px[0], px[1], px[2]])
|
||||
.collect();
|
||||
rgb_xobject(image.width, image.height, rgb)
|
||||
|
||||
Reference in New Issue
Block a user