aboutsummaryrefslogtreecommitdiff
path: root/exercises/015_for.zig
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2023-04-30 16:23:35 -0400
committerDave Gauer <[email protected]>2023-04-30 16:23:35 -0400
commite9e6be4e0573be19c9d5521bbd67e13f4b26aa01 (patch)
tree1af597051170306494d03c43b7af0fbfaf59e77d /exercises/015_for.zig
parent6b48914d7ab1259d62e3ef9490dd6eac088ce640 (diff)
downloadziglings-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/015_for.zig')
-rw-r--r--exercises/015_for.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/exercises/015_for.zig b/exercises/015_for.zig
index 4c87a05..0ee8e7d 100644
--- a/exercises/015_for.zig
+++ b/exercises/015_for.zig
@@ -23,5 +23,9 @@ pub fn main() void {
std.debug.print("The End.\n", .{});
}
-// Note that "for" loops also work on things called "slices"
+// Note that 'for' loops also work on things called "slices"
// which we'll see later.
+//
+// Also note that 'for' loops have recently become more flexible
+// and powerful (two years after this exercise was written).
+// More about that in a moment.