diff options
author | 2023-01-03 18:53:40 -0800 | |
---|---|---|
committer | 2023-01-03 18:53:40 -0800 | |
commit | c99059db9fc66ebfade91f00d11030570be44f5c (patch) | |
tree | 78f9494f275b504f679e0dcd4fc7f18fa44991c9 /src/string_immutable.zig | |
parent | 237bcdf99f5c8b2431e89bc9fa6300a7d256e7eb (diff) | |
download | bun-c99059db9fc66ebfade91f00d11030570be44f5c.tar.gz bun-c99059db9fc66ebfade91f00d11030570be44f5c.tar.zst bun-c99059db9fc66ebfade91f00d11030570be44f5c.zip |
Remove usages of std.x
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r-- | src/string_immutable.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index db1d459af..7c2b61c03 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -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; |