We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3247718 commit 25f3056Copy full SHA for 25f3056
templates/http-zig/content/src/main.zig
@@ -1,7 +1,7 @@
1
const std = @import("std");
2
3
pub fn main() !void {
4
- const stdout = std.io.getStdOutWriter();
+ const stdout = std.io.getStdOut().writer();
5
try stdout.print("content-type: text/plain\n\n", .{});
6
try stdout.print("Hello World!\n", .{});
7
}
0 commit comments