aboutsummaryrefslogtreecommitdiff
path: root/src/js_ast.zig
diff options
context:
space:
mode:
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 {