aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-08-19 08:33:17 -0400
committerGitHub <noreply@github.com>2021-08-19 08:33:17 -0400
commit38f8737163ecd8a52dedbd7a1b5707871be06c04 (patch)
tree39f2dbfd90b96c3e016e79a8b522037dadfd666c
parent64a6befb394a4d0bf04da901edfd31e8e32d5fa8 (diff)
parent4bf560060add11c95feb333c55076342302f4f90 (diff)
downloadziglings-38f8737163ecd8a52dedbd7a1b5707871be06c04.tar.gz
ziglings-38f8737163ecd8a52dedbd7a1b5707871be06c04.tar.bz2
ziglings-38f8737163ecd8a52dedbd7a1b5707871be06c04.tar.xz
ziglings-38f8737163ecd8a52dedbd7a1b5707871be06c04.zip
Merge pull request #68 from Palm404/main
feat: Add more comparison operator coverage in 009_if.zig
-rw-r--r--exercises/009_if.zig1
-rw-r--r--exercises/015_for.zig4
-rw-r--r--exercises/018_functions.zig2
3 files changed, 4 insertions, 3 deletions
diff --git a/exercises/009_if.zig b/exercises/009_if.zig
index 284563d..4536fc3 100644
--- a/exercises/009_if.zig
+++ b/exercises/009_if.zig
@@ -11,6 +11,7 @@
//
// a == b means "a equals b"
// a < b means "a is less than b"
+// a > b means "a is greater than b"
// a != b means "a does not equal b"
//
// The important thing about Zig's "if" is that it *only* accepts
diff --git a/exercises/015_for.zig b/exercises/015_for.zig
index 2ce930e..4c87a05 100644
--- a/exercises/015_for.zig
+++ b/exercises/015_for.zig
@@ -1,6 +1,6 @@
//
-// Behold the 'for' loop! It lets you execute code for each
-// member of an array:
+// Behold the 'for' loop! For loops let you execute code for each
+// element of an array:
//
// for (items) |item| {
//
diff --git a/exercises/018_functions.zig b/exercises/018_functions.zig
index 51be2cd..e79b765 100644
--- a/exercises/018_functions.zig
+++ b/exercises/018_functions.zig
@@ -1,5 +1,5 @@
//
-// Functions! We've already seen a lot of one called "main()". Now let's try
+// Functions! We've already seen lots of ones called "main()". Now let's try
// writing one of our own:
//
// fn foo(n: u8) u8 {