commit af6bad46cd132113e7b8497829a660a79e101742 (tree)
parent d4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6
Author: mlugg <mlugg@mlugg.co.uk>
Date: Wed, 15 Jan 2025 16:49:57 +0000
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`.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
@@ -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,
};
};