aboutsummaryrefslogtreecommitdiff
path: root/exercises/054_manypointers.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-03-18 10:01:14 -0400
committerDave Gauer <dave@ratfactor.com>2021-03-18 10:01:14 -0400
commit4fdaab7f8455cd044b0f7262ec86dd4a42d25c1d (patch)
tree79f13156159d1b2b95f1466e248e128ab8eacac9 /exercises/054_manypointers.zig
parent5f9d5ddeffeaf3fd96712e932ae7bb414cfb6822 (diff)
downloadziglings-4fdaab7f8455cd044b0f7262ec86dd4a42d25c1d.tar.gz
ziglings-4fdaab7f8455cd044b0f7262ec86dd4a42d25c1d.tar.bz2
ziglings-4fdaab7f8455cd044b0f7262ec86dd4a42d25c1d.tar.xz
ziglings-4fdaab7f8455cd044b0f7262ec86dd4a42d25c1d.zip
ex 058 grammaring harder
Diffstat (limited to 'exercises/054_manypointers.zig')
-rw-r--r--exercises/054_manypointers.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/054_manypointers.zig b/exercises/054_manypointers.zig
index 2242652..a646b49 100644
--- a/exercises/054_manypointers.zig
+++ b/exercises/054_manypointers.zig
@@ -28,8 +28,8 @@ pub fn main() void {
//
// A "string" in Zig is a pointer to an array of const u8 values
// (or a slice of const u8 values, as we saw above). So, we could
- // treat a "many-item pointer" of const u8 a string as long as we
- // can CONVERT IT TO A SLICE. (Hint: we do know the length!)
+ // treat a "many-item pointer" of const u8 as a string as long as
+ // we can CONVERT IT TO A SLICE. (Hint: we do know the length!)
//
// Please fix this line so the print below statement can print it:
const zen12_string: []const u8 = zen_manyptr;