diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-02-16 20:21:32 -0500 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-02-16 20:21:32 -0500 |
commit | e32bd7ce30c8548884289483951395d4e7a4a0b7 (patch) | |
tree | ee6c37ade9eec421628fc0d623d6fb1dcd0fd941 /build.zig | |
parent | 62fc8f7139a348346c7befde7cccff3076dc8cc6 (diff) | |
download | ziglings-e32bd7ce30c8548884289483951395d4e7a4a0b7.tar.gz ziglings-e32bd7ce30c8548884289483951395d4e7a4a0b7.tar.bz2 ziglings-e32bd7ce30c8548884289483951395d4e7a4a0b7.tar.xz ziglings-e32bd7ce30c8548884289483951395d4e7a4a0b7.zip |
Added ex. 46 optionals 2 - elephants!
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -240,7 +240,11 @@ const exercises = [_]Exercise{ .main_file = "45_optionals.zig", .output = "The Ultimate Answer: 42.", }, - // optional fields (elephant tail - no longer need circular) + .{ + .main_file = "46_optionals2.zig", + .output = "Elephant A. Elephant B. Elephant C.", + .hint = "Elephants!", + }, // super-simple struct method // use struct method for elephant tails // quiz: add elephant trunk (like tail)! |