std.builtin: rename Type.UnionField and Type.StructField's field_type to type
This commit is contained in:
@@ -338,7 +338,7 @@ pub const Value = 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