File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub const Type = enum {
14
14
pub fn jsonStringify (value : Type , options : std.json.StringifyOptions , out_stream : anytype ) ! void {
15
15
_ = options ;
16
16
try out_stream .writeByte ('"' );
17
- try out_stream .writeAll (std . meta . tagName (value ));
17
+ try out_stream .writeAll (@ tagName (value ));
18
18
try out_stream .writeByte ('"' );
19
19
}
20
20
};
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub const State = enum {
20
20
pub fn jsonStringify (value : State , options : std.json.StringifyOptions , out_stream : anytype ) ! void {
21
21
_ = options ;
22
22
try out_stream .writeByte ('"' );
23
- try out_stream .writeAll (std . meta . tagName (value ));
23
+ try out_stream .writeAll (@ tagName (value ));
24
24
try out_stream .writeByte ('"' );
25
25
}
26
26
};
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const GameState = enum {
54
54
pub fn jsonStringify (value : GameState , options : std.json.StringifyOptions , out_stream : anytype ) ! void {
55
55
_ = options ;
56
56
try out_stream .writeByte ('"' );
57
- try out_stream .writeAll (std . meta . tagName (value ));
57
+ try out_stream .writeAll (@ tagName (value ));
58
58
try out_stream .writeByte ('"' );
59
59
}
60
60
};
You can’t perform that action at this time.
0 commit comments