From af6bad46cd132113e7b8497829a660a79e101742 Mon Sep 17 00:00:00 2001 From: mlugg Date: Wed, 15 Jan 2025 16:49:57 +0000 Subject: [PATCH] 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`. --- lib/std/builtin.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index eda7f0ff4f..91ef1c38f9 100644 --- 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, }; };