mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
patch because of a change in @typeInfo
This commit is contained in:
@@ -41,7 +41,7 @@ pub fn main() void {
|
||||
const fields = @typeInfo(Narcissus).Struct.fields;
|
||||
|
||||
??? {
|
||||
if (field.field_type != void) {
|
||||
if (field.type != void) {
|
||||
print(" {s}", .{field.name});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user