File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ pub const ExternalEntry = struct {
717717 // the proper subtype (and description) fields in the returned JSON.
718718 // V8 will give us a Value and ask us for the subtype. Hence, we store it
719719 // here.
720- sub_type : ? [: 0 ]const u8 ,
720+ sub_type : ? [* c ]const u8 ,
721721};
722722
723723// See above for documentation for the ExternalEntry's sub_type field.
Original file line number Diff line number Diff line change @@ -785,7 +785,7 @@ pub const Struct = struct {
785785
786786 // nested types
787787 nested : []const StructNested ,
788- sub_type : ? [: 0 ]const u8 ,
788+ sub_type : ? [* c ]const u8 ,
789789
790790 pub fn Self (comptime self : Struct ) type {
791791 comptime {
@@ -1247,7 +1247,7 @@ pub const Struct = struct {
12471247 mem_guarantied = @typeInfo (T ).@"struct" .layout != .auto ;
12481248 }
12491249
1250- var sub_type : ? [: 0 ]const u8 = null ;
1250+ var sub_type : ? [* c ]const u8 = null ;
12511251 if (@hasDecl (T , "sub_type" )) {
12521252 sub_type = @field (T , "sub_type" );
12531253 }
You can’t perform that action at this time.
0 commit comments