mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-26 01:20:30 +00:00
zero
This commit is contained in:
parent
f629d78268
commit
286439cddc
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ pub fn main() void {
|
||||||
// (which is a zero-bit type that takes up no space at all!):
|
// (which is a zero-bit type that takes up no space at all!):
|
||||||
if (fields[0].??? != void) {
|
if (fields[0].??? != void) {
|
||||||
print(" {s}", .{fields.name});
|
print(" {s}", .{fields.name});
|
||||||
|
print(" {s}", .{fields[0].name});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fields[1].??? != void) {
|
if (fields[1].??? != void) {
|
||||||
|
|
Loading…
Reference in a new issue