Remove usages of std.x

This commit is contained in:
Jarred Sumner
2023-01-03 18:53:40 -08:00
parent 237bcdf99f
commit c99059db9f
7 changed files with 75 additions and 98 deletions

View File

@@ -3967,7 +3967,7 @@ pub fn isIPAddress(input: []const u8) bool {
if (containsChar(input, ':'))
return true;
if (std.x.os.IPv4.parse(input)) |_| {
if (std.net.Address.resolveIp(input, 0)) |_| {
return true;
} else |_| {
return false;