aboutsummaryrefslogtreecommitdiff
path: root/src/js_ast.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-09 05:39:05 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-09 05:39:05 -0700
commit7bd6a1f86d99c1374cb1eb15ff263dc352a8837b (patch)
tree6b7646d6bf34ca83844f713b3be671dc71a40b37 /src/js_ast.zig
parent1e717dd941090b5c52f36445f3a53d41e1bc7894 (diff)
downloadbun-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/js_ast.zig')
-rw-r--r--src/js_ast.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index d3f908fd0..cb291dc0f 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -1732,11 +1732,11 @@ pub const E = struct {
}
pub fn alphabetizeProperties(this: *Object) void {
- std.sort.sort(G.Property, this.properties.slice(), void{}, Sorter.isLessThan);
+ std.sort.sort(G.Property, this.properties.slice(), {}, Sorter.isLessThan);
}
pub fn packageJSONSort(this: *Object) void {
- std.sort.sort(G.Property, this.properties.slice(), void{}, PackageJSONSort.Fields.isLessThan);
+ std.sort.sort(G.Property, this.properties.slice(), {}, PackageJSONSort.Fields.isLessThan);
}
const PackageJSONSort = struct {