We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f40d9 commit 5c2dc27Copy full SHA for 5c2dc27
any-pointer.zig
@@ -110,7 +110,7 @@ fn assertPointer(comptime T: type) void {
110
if (ti != .pointer)
111
@compileError("any-pointer only works with (optional) pointers to one or many.");
112
switch (ti.pointer.size) {
113
- .One, .Many, .C => {},
+ .one, .many, .c => {},
114
else => @compileError("any-pointer only works with (optional) pointers to one or many."),
115
}
116
0 commit comments