Skip to content

Commit

Permalink
Fix clippy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Feb 14, 2024
1 parent 1e3a906 commit 9400455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub fn debug_png(image: &Image, name: &str, params: &TestParams) -> Result<()> {
encoder.set_color(png::ColorType::Rgba);
encoder.set_depth(png::BitDepth::Eight);
let mut writer = encoder.write_header()?;
writer.write_image_data(&image.data.data())?;
writer.write_image_data(image.data.data())?;
writer.finish()?;
println!("Wrote result ({width}x{height}) to {out_path:?}");
Ok(())
Expand Down

0 comments on commit 9400455

Please sign in to comment.