PhotoCraft: An open-source, photo editor written by scratch in pure Rust
style(gpu): match rustfmt compact ColorOverlay initialization
Nigel Ihza Firdausyd127cd6afb28
diff --git a/crates/gpu/tests/parity.rs b/crates/gpu/tests/parity.rsindex ac2c04ee1..474a6e8e8 100644--- a/crates/gpu/tests/parity.rs+++ b/crates/gpu/tests/parity.rs@@ -2654,10 +2654,7 @@ fn dissolve_effects_stack_matches_cpu() {let mut styled = Layer::new("styled", LayerContent::Fill(Fill::Solid(Color::BLACK)));styled.blend = BlendMode::Dissolve;styled.opacity = 0.5;- styled.effects.items.push(Effect::ColorOverlay {- common: FxCommon::new(BlendMode::Normal, 1.0),- color: Color::BLACK,- });+ styled.effects.items.push(Effect::ColorOverlay { common: FxCommon::new(BlendMode::Normal, 1.0), color: Color::BLACK });d.layers.push(styled);check(&mut g, &d, "dissolve effects");}