std.os: handle error.UnreachableAddress in send()

This commit is contained in:
Naoki MATSUMOTO authored and Veikka Tuominen committed 2022-10-17 13:10:23 +02:00
1 parent f36aee93cc
commit 059e397ffc
1 file changed
+1
+1
View File
@@ -5920,6 +5920,7 @@ pub fn send(
error.NetworkUnreachable => unreachable,
error.AddressNotAvailable => unreachable,
error.SocketNotConnected => unreachable,
error.UnreachableAddress => unreachable,
else => |e| return e,
};
}