mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-06 15:54:47 +00:00
zero
This commit is contained in:
parent
f629d78268
commit
286439cddc
@ -111,6 +111,7 @@ pub fn main() void {
|
||||
// (which is a zero-bit type that takes up no space at all!):
|
||||
if (fields[0].??? != void) {
|
||||
print(" {s}", .{fields.name});
|
||||
print(" {s}", .{fields[0].name});
|
||||
}
|
||||
|
||||
if (fields[1].??? != void) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user