aboutsummaryrefslogtreecommitdiff
path: root/lib/std/builtin.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-01-15 16:49:57 +0000
committermlugg <mlugg@mlugg.co.uk>2025-01-16 11:37:46 +0000
commitaf6bad46cd132113e7b8497829a660a79e101742 (patch)
tree21aaa96a91595f322eb100c47c2d9f537ba71c28 /lib/std/builtin.zig
parentd4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6 (diff)
downloadzig-af6bad46cd132113e7b8497829a660a79e101742.tar.gz
zig-af6bad46cd132113e7b8497829a660a79e101742.zip
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 (limited to 'lib/std/builtin.zig')
-rw-r--r--lib/std/builtin.zig8
1 files 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,
};
};