Skip to content

Commit 5c2dc27

Browse files
committed
Update casing of std.builtin.Type.Pointer.Size fields
See: ziglang/zig#22505
1 parent 15f40d9 commit 5c2dc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

any-pointer.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn assertPointer(comptime T: type) void {
110110
if (ti != .pointer)
111111
@compileError("any-pointer only works with (optional) pointers to one or many.");
112112
switch (ti.pointer.size) {
113-
.One, .Many, .C => {},
113+
.one, .many, .c => {},
114114
else => @compileError("any-pointer only works with (optional) pointers to one or many."),
115115
}
116116
}

0 commit comments

Comments
 (0)