| ... | @@ -1,7 +1,6 @@ | ... | @@ -1,7 +1,6 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | | 2 | |
| 3 | pub fn main() !void { | 3 | pub fn main() !void { |
| 4 | // If this program is run without stdout attached, exit with an error. | | |
| 5 | const stdout_file = std.io.getStdOut(); | 4 | const stdout_file = std.io.getStdOut(); |
| 6 | // If this program encounters pipe failure when printing to stdout, exit | 5 | // If this program encounters pipe failure when printing to stdout, exit |
| 7 | // with an error. | 6 | // with an error. |