Minor debug logging change.

This commit is contained in:
Bill Thiede 2022-07-31 16:36:33 -07:00
parent 8bc5e347cc
commit 287344c272

View File

@ -34,7 +34,7 @@ pub fn main() anyerror!void {
const stdout = std.io.getStdOut();
info("Writing image {d}x{d}\n", .{ image_width, image_height });
info("Writing image {d}x{d}", .{ image_width, image_height });
try stdout.writer().print("P3\n{d} {d}\n255\n", .{ image_width, image_height });
var j: isize = image_height - 1;
@ -50,6 +50,7 @@ pub fn main() anyerror!void {
try write_color(pixel_color);
}
}
info("Done", .{});
}
test {