aboutsummaryrefslogtreecommitdiff
path: root/src/string_immutable.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-03 18:53:40 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-03 18:53:40 -0800
commitc99059db9fc66ebfade91f00d11030570be44f5c (patch)
tree78f9494f275b504f679e0dcd4fc7f18fa44991c9 /src/string_immutable.zig
parent237bcdf99f5c8b2431e89bc9fa6300a7d256e7eb (diff)
downloadbun-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.zig2
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;