aboutsummaryrefslogtreecommitdiff
path: root/lib/std/net.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-10-30 00:50:30 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-10-30 00:50:30 -0400
commit16397241f6d85956f460f1b1049cf9ce0312bca4 (patch)
treee4e8fb6df459723a837c7c8dce649dde3c286976 /lib/std/net.zig
parentb3c80418a8f8c235e798feb7ee585bc1dcacdf0f (diff)
downloadzig-16397241f6d85956f460f1b1049cf9ce0312bca4.tar.gz
zig-16397241f6d85956f460f1b1049cf9ce0312bca4.zip
fix std.net tests and std.net.TcpServer docs
Diffstat (limited to 'lib/std/net.zig')
-rw-r--r--lib/std/net.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/std/net.zig b/lib/std/net.zig
index e2f1f80b91..1794f36c84 100644
--- a/lib/std/net.zig
+++ b/lib/std/net.zig
@@ -1252,8 +1252,6 @@ fn dnsParseCallback(ctx: dpc_ctx, rr: u8, data: []const u8, packet: []const u8)
}
}
-/// This API only works when `std.io.mode` is `std.io.Mode.evented`.
-/// This struct is immovable after calling `listen`.
pub const TcpServer = struct {
/// Copied from `Options` on `init`.
kernel_backlog: u32,