aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit008ad0d26b78f27c2be52ba703f339dc620c9732 (patch)
tree39f2dbfd90b96c3e016e79a8b522037dadfd666c
parent90f0a1718ee8a3734877249a7aee167353d1b826 (diff)
parent2e782fbd8694d82b6875ceca0d3e51fa5ba10199 (diff)
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 {