File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments