| ... | @@ -719,7 +719,7 @@ const Space = union(enum) { | ... | @@ -719,7 +719,7 @@ const Space = union(enum) { |
| 719 | } | 719 | } |
| 720 | }; | 720 | }; |
| 721 | | 721 | |
| 722 | pub fn stringify(writer: anytype, value: anytype, options: std.json.Stringify.Options) extras.Pointee(@TypeOf(writer)).WriteError!void { | 722 | pub fn stringify(writer: anytype, value: anytype, options: std.json.Stringify.Options) (extras.Pointee(@TypeOf(writer)).WriteError || error{Unexpected})!void { |
| 723 | const T = @TypeOf(value); | 723 | const T = @TypeOf(value); |
| 724 | if (comptime extras.isZigString(T)) { | 724 | if (comptime extras.isZigString(T)) { |
| 725 | if (extras.matchesAll(u8, value, std.ascii.isAscii)) { | 725 | if (extras.matchesAll(u8, value, std.ascii.isAscii)) { |