diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-01-06 17:41:53 -0500 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-01-06 17:41:53 -0500 |
commit | b9b89737fca7cc80b7d1b1527445e0ec71b25dda (patch) | |
tree | b922cc620d25392892b91a0b634925e828edfcd7 /03_assignment.zig | |
parent | 30ef32e238465e67321d15c562d6313043dd12d7 (diff) | |
download | ziglings-b9b89737fca7cc80b7d1b1527445e0ec71b25dda.tar.gz ziglings-b9b89737fca7cc80b7d1b1527445e0ec71b25dda.tar.bz2 ziglings-b9b89737fca7cc80b7d1b1527445e0ec71b25dda.tar.xz ziglings-b9b89737fca7cc80b7d1b1527445e0ec71b25dda.zip |
Added first quiz
Diffstat (limited to '03_assignment.zig')
-rw-r--r-- | 03_assignment.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/03_assignment.zig b/03_assignment.zig index 6280833..2c4c15a 100644 --- a/03_assignment.zig +++ b/03_assignment.zig @@ -24,7 +24,7 @@ pub fn main() void { // Perhaps you noticed before that the print function takes two // parameters. Now it will make more sense: the first parameter // is a string. The string may contain placeholders '{}', and the - // second parameter is an anonymous struct (data structure) - // with values to be printed in place of the placeholders. + // second parameter is an "anonymous list literal" (don't worry + // about this for now!) with the values to be printed. std.debug.print("{} {} {}\n", .{n, pi, negative_eleven}); } |