aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises/076_sentinels.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-10-18 19:04:12 -0400
committerDave Gauer <dave@ratfactor.com>2021-10-18 19:04:12 -0400
commit4c7eebbbfca3337b5e3af33eb34979dc56716178 (patch)
treefb943763fbd1b55838aee2334d36c569dd3b9341 /exercises/076_sentinels.zig
parentef4bd3c7492c34ed1bfba5faf7cd9da130a3d439 (diff)
Removed confusing explanation from 076
Diffstat (limited to 'exercises/076_sentinels.zig')
-rw-r--r--exercises/076_sentinels.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/exercises/076_sentinels.zig b/exercises/076_sentinels.zig
index 6d1f6f8..5d5f70e 100644
--- a/exercises/076_sentinels.zig
+++ b/exercises/076_sentinels.zig
@@ -59,10 +59,8 @@ pub fn main() void {
// demonstrate how they are similar and different.
//
// (It turns out that the array prints completely, including
- // the sentinel 0 in the middle. The many-item pointer must
- // stop at the first sentinel value. The difference is simply
- // that arrays have a known length and many-item pointers
- // don't.)
+ // the sentinel 0 in the middle. The many-item pointer stops
+ // at the first sentinel value.)
printSequence(nums);
printSequence(ptr);