From 10abffcd98f2f1ac9e8532c53820d7c1eea6d88f Mon Sep 17 00:00:00 2001 From: Vexu Date: Fri, 8 May 2020 14:52:09 +0300 Subject: fix more private member access --- lib/std/net.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std/net.zig') diff --git a/lib/std/net.zig b/lib/std/net.zig index cc3e0d903e..aa38aeae08 100644 --- a/lib/std/net.zig +++ b/lib/std/net.zig @@ -386,7 +386,7 @@ pub const AddressList = struct { addrs: []Address, canon_name: ?[]u8, - fn deinit(self: *AddressList) void { + pub fn deinit(self: *AddressList) void { // Here we copy the arena allocator into stack memory, because // otherwise it would destroy itself while it was still working. var arena = self.arena; -- cgit v1.2.3