From b723296e1fa65b73a43b0790bdddcbfcea7d656d Mon Sep 17 00:00:00 2001 From: Nameless Date: Thu, 14 Dec 2023 15:52:39 -0600 Subject: std.http: add missing documentation and a few examples --- test/standalone/http.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/standalone/http.zig b/test/standalone/http.zig index c48a5ae1b9..3cad556482 100644 --- a/test/standalone/http.zig +++ b/test/standalone/http.zig @@ -220,7 +220,7 @@ pub fn main() !void { defer _ = gpa_client.deinit(); - server = Server.init(salloc, .{ .reuse_address = true }); + server = Server.init(.{ .reuse_address = true }); const addr = std.net.Address.parseIp("127.0.0.1", 0) catch unreachable; try server.listen(addr); -- cgit v1.2.3