mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-25 09:10:26 +00:00
patch
This commit is contained in:
parent
286439cddc
commit
530dcde3d4
1 changed files with 3 additions and 3 deletions
|
@ -24,16 +24,16 @@
|
|||
// (which is a zero-bit type that takes up no space at all!):
|
||||
- if (fields[0].??? != void) {
|
||||
+ if (fields[0].type != void) {
|
||||
print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[0].name});
|
||||
print(" {s}", .{fields[0].name});
|
||||
}
|
||||
|
||||
- if (fields[1].??? != void) {
|
||||
+ if (fields[1].type != void) {
|
||||
print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[1].name});
|
||||
print(" {s}", .{fields[1].name});
|
||||
}
|
||||
|
||||
- if (fields[2].??? != void) {
|
||||
+ if (fields[2].type != void) {
|
||||
print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[2].name});
|
||||
print(" {s}", .{fields[2].name});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue