std.builtin: rename Type.UnionField and Type.StructField's field_type to type
This commit is contained in:
@@ -6216,7 +6216,7 @@ pub const Type = extern union {
|
||||
}
|
||||
|
||||
pub fn Data(comptime t: Tag) type {
|
||||
return std.meta.fieldInfo(t.Type(), .data).field_type;
|
||||
return std.meta.fieldInfo(t.Type(), .data).type;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user