diff options
| author | Dave Gauer <[email protected]> | 2023-04-30 16:23:35 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2023-04-30 16:23:35 -0400 |
| commit | e9e6be4e0573be19c9d5521bbd67e13f4b26aa01 (patch) | |
| tree | 1af597051170306494d03c43b7af0fbfaf59e77d /exercises/016_for2.zig | |
| parent | 6b48914d7ab1259d62e3ef9490dd6eac088ce640 (diff) | |
| download | ziglings-e9e6be4e0573be19c9d5521bbd67e13f4b26aa01.tar.xz ziglings-e9e6be4e0573be19c9d5521bbd67e13f4b26aa01.zip | |
Updating wording in 'for' exercises
This is in preparation for another dive into 'for'
in an upcoming Exercise 100.
Also reformatted 095 for 65 columns and some wording.
Diffstat (limited to 'exercises/016_for2.zig')
| -rw-r--r-- | exercises/016_for2.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exercises/016_for2.zig b/exercises/016_for2.zig index 4a8d09c..8c01bc3 100644 --- a/exercises/016_for2.zig +++ b/exercises/016_for2.zig @@ -35,3 +35,9 @@ pub fn main() void { std.debug.print("The value of bits '1101': {}.\n", .{value}); } +// +// As mentioned in the previous exercise, 'for' loops have gained +// additional flexibility since these early exercises were +// written. As we'll see in later exercises, the above syntax for +// capturing the index is part of a more general ability. hang in +// there! |
