std.builtin.Type: rename Pointer.Size fields to lowercase

This matches established naming conventions. Now is an opportune time to
make this change, since we're already performing breaking changes to
`std.builtin.Type`.
This commit is contained in:
mlugg 2025-01-15 16:49:57 +00:00
parent d4fe4698d9
commit af6bad46cd
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E

View File

@ -613,10 +613,10 @@ pub const Type = union(enum) {
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
pub const Size = enum(u2) {
One,
Many,
Slice,
C,
one,
many,
slice,
c,
};
};