diff options
| author | Nameless <truemedian@gmail.com> | 2023-12-14 15:52:39 -0600 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-13 18:51:38 -0800 |
| commit | b723296e1fa65b73a43b0790bdddcbfcea7d656d (patch) | |
| tree | 33173696d644f655374e134b73df3d694e4a1a28 /test/standalone | |
| parent | 832f6d8f7f7f7b10b86b109a8b26bb5eacc8d13e (diff) | |
| download | zig-b723296e1fa65b73a43b0790bdddcbfcea7d656d.tar.gz zig-b723296e1fa65b73a43b0790bdddcbfcea7d656d.zip | |
std.http: add missing documentation and a few examples
Diffstat (limited to 'test/standalone')
| -rw-r--r-- | test/standalone/http.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
