This commit is contained in:
parent
c01a756b02
commit
11428b6e38
|
@ -18,7 +18,7 @@ pub fn main() void {
|
|||
fn printAnimal(animal: u8) void {
|
||||
std.debug.print("(", .{});
|
||||
|
||||
std.debug.print(") ", .{}); // <---- how?!
|
||||
defer std.debug.print(") ", .{}); // <---- how?!
|
||||
|
||||
if (animal == 'g') {
|
||||
std.debug.print("Goat", .{});
|
||||
|
|
Loading…
Reference in New Issue