Camera Raw filmstrip test: PixelFormat is Copy (clippy)

This commit is contained in:
texjer committed 2026-11-07 08:19:13 -05:00
1 parent 447f473afd
commit 96340cbff8
1 file changed
+1 -1
@@ -695,7 +695,7 @@ fn auto_tone_of_a_never_shown_raw_matches_the_dialogs() {
st.active_layer = Some(id);
let document = st.doc.id;
let Some(photocraft_doc::LayerContent::Raster(s)) = std::sync::Arc::make_mut(&mut st.doc).layer_mut(id).map(|l| &mut l.content) else { panic!("a pixel layer") };
let format = s.format().clone();
let format = s.format();
let (dark, light) = (photocraft_raster::from_rgba(&format, [0.1, 0.1, 0.1, 1.0]), photocraft_raster::from_rgba(&format, [0.9, 0.9, 0.9, 1.0]));
for y in 0..1200 {
for x in 0..1800 {