Run rustfmt

This commit is contained in:
Yash Karandikar 2021-09-07 11:17:06 -05:00
parent cbd3804733
commit 792792a55e
Signed by: karx
GPG key ID: A794DA2529474BA5

View file

@ -20,15 +20,15 @@ fn main() -> anyhow::Result<()> {
let mut out = image::ImageBuffer::new(rimage.width(), rimage.height());
for x in 0..rimage.width() {
for y in 0..rimage.height() {
for y in 0..rimage.height() {
let foo = image::Rgb([255, 255, 255]);
out.put_pixel(x, y, foo);
}
}
for (x, y) in &prev_pixels {
let px = rimage.get_pixel(*x, *y);
out.put_pixel(*x, *y, *px);
let px = rimage.get_pixel(*x, *y);
out.put_pixel(*x, *y, *px);
}
out.save("output.png")?;