File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1197,7 +1197,7 @@ test "timestamps" {
11971197 );
11981198
11991199 const now = std .time .microTimestamp ();
1200- std .time .sleep (std .time .ns_per_ms );
1200+ std .Thread .sleep (std .time .ns_per_ms );
12011201
12021202 try repo .Query (.Cat ).insert (.{ .name = "Hercules" , .paws = 4 }).execute (& repo );
12031203
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ pub fn zigEscape(
7474 const writer = buf .writer ();
7575 const formatter = switch (context ) {
7676 .id = > std .zig .fmtId (input ),
77- .string = > std .zig .fmtEscapes (input ),
77+ .string = > std .zig .fmtString (input ),
7878 };
7979
80- try writer .print ("{}" , .{formatter });
80+ try writer .print ("{any }" , .{formatter });
8181 return try buf .toOwnedSlice ();
8282}
Original file line number Diff line number Diff line change @@ -659,7 +659,7 @@ fn nodeTree(
659659
660660 var t : type = OG ;
661661 for (path [0 .. path .len - 1 ]) | c | {
662- t = std . meta . FieldType (t , std .enums .nameCast (std .meta .FieldEnum (t ), c ));
662+ t = @ FieldType (t , std .enums .nameCast (std .meta .FieldEnum (t ), c ));
663663 }
664664 const value : t = undefined ;
665665 const condition = @field (value , path [path .len - 1 ]);
You can’t perform that action at this time.
0 commit comments