diff options
author | 2023-04-09 05:39:05 -0700 | |
---|---|---|
committer | 2023-04-09 05:39:05 -0700 | |
commit | 7bd6a1f86d99c1374cb1eb15ff263dc352a8837b (patch) | |
tree | 6b7646d6bf34ca83844f713b3be671dc71a40b37 /src/url.zig | |
parent | 1e717dd941090b5c52f36445f3a53d41e1bc7894 (diff) | |
download | bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.gz bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.zst bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.zip |
Remove usages of `void{}` in favor of `{}`
See https://github.com/ziglang/zig/issues/15213
Diffstat (limited to 'src/url.zig')
-rw-r--r-- | src/url.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.zig b/src/url.zig index 9c234ec03..fae2e84a4 100644 --- a/src/url.zig +++ b/src/url.zig @@ -870,7 +870,7 @@ pub const FormData = struct { pub fn get(content_type: []const u8) ?Encoding { if (strings.indexOf(content_type, "application/x-www-form-urlencoded") != null) - return Encoding{ .URLEncoded = void{} }; + return Encoding{ .URLEncoded = {} }; if (strings.indexOf(content_type, "multipart/form-data") == null) return null; |