Skip to content

Commit 5e9e655

Browse files
fabioarnoldikskuh
authored andcommitted
Update to Zig master
1 parent 6484f78 commit 5e9e655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s2s.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ fn getSortedErrorNames(comptime T: type) []const []const u8 {
485485
sorted_names[i] = err.name;
486486
}
487487

488-
std.sort.sort([]const u8, &sorted_names, {}, struct {
488+
std.mem.sort([]const u8, &sorted_names, {}, struct {
489489
fn order(ctx: void, lhs: []const u8, rhs: []const u8) bool {
490490
_ = ctx;
491491
return (std.mem.order(u8, lhs, rhs) == .lt);
@@ -504,7 +504,7 @@ fn getSortedEnumNames(comptime T: type) []const []const u8 {
504504
sorted_names[i] = err.name;
505505
}
506506

507-
std.sort.sort([]const u8, &sorted_names, {}, struct {
507+
std.mem.sort([]const u8, &sorted_names, {}, struct {
508508
fn order(ctx: void, lhs: []const u8, rhs: []const u8) bool {
509509
_ = ctx;
510510
return (std.mem.order(u8, lhs, rhs) == .lt);

0 commit comments

Comments
 (0)