use `std.sort.pdq()` instead of `std.sort.block()`

master
Aron Gabriel 1 year ago
parent 13ea2be1c1
commit c7a1353847

@ -632,7 +632,7 @@ pub const Registry = struct {
name.* = @typeName(types[i]); name.* = @typeName(types[i]);
} }
std.sort.block([]const u8, &names, {}, impl.asc); std.sort.pdq([]const u8, &names, {}, impl.asc);
comptime var res: []const u8 = ""; comptime var res: []const u8 = "";
inline for (names) |name| res = res ++ name; inline for (names) |name| res = res ++ name;

Loading…
Cancel
Save