Lots of 0.14 changes

This commit is contained in:
Mitchell Hashimoto
2025-03-12 09:55:46 -07:00
parent 86d3f18707
commit 0f4d2bb237
67 changed files with 326 additions and 316 deletions

View File

@@ -27,7 +27,7 @@ pub const Button = enum(c_int) {
/// packed array, for example.
pub const max = max: {
var cur = 0;
for (@typeInfo(Self).Enum.fields) |field| {
for (@typeInfo(Self).@"enum".fields) |field| {
if (field.value > cur) cur = field.value;
}