Skip to content

Commit 5af3c9e

Browse files
committed
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`.
1 parent 39cf67d commit 5af3c9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/std/builtin.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,10 @@ pub const Type = union(enum) {
621621
/// This data structure is used by the Zig language code generation and
622622
/// therefore must be kept in sync with the compiler implementation.
623623
pub const Size = enum(u2) {
624-
One,
625-
Many,
626-
Slice,
627-
C,
624+
one,
625+
many,
626+
slice,
627+
c,
628628
};
629629
};
630630

0 commit comments

Comments
 (0)