aboutsummaryrefslogtreecommitdiff
path: root/exercises/054_manypointers.zig
diff options
context:
space:
mode:
authorDavid Keck <davidskeck@users.noreply.github.com>2021-03-17 22:22:04 -0500
committerGitHub <noreply@github.com>2021-03-17 22:22:04 -0500
commite3ad9aaa7b9a286e5236d4dd9c480be2cfffff4b (patch)
treef1d1f1cca52e5049cac44fc3b910b5ba625ac3c1 /exercises/054_manypointers.zig
parentbe8429f1e66dd69ca867a1039577b4bef5916279 (diff)
downloadziglings-e3ad9aaa7b9a286e5236d4dd9c480be2cfffff4b.tar.gz
ziglings-e3ad9aaa7b9a286e5236d4dd9c480be2cfffff4b.tar.bz2
ziglings-e3ad9aaa7b9a286e5236d4dd9c480be2cfffff4b.tar.xz
ziglings-e3ad9aaa7b9a286e5236d4dd9c480be2cfffff4b.zip
grammatical fixes
fixed orphaned parenthesis and removed unneeded comma
Diffstat (limited to 'exercises/054_manypointers.zig')
-rw-r--r--exercises/054_manypointers.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/054_manypointers.zig b/exercises/054_manypointers.zig
index d07d88f..2242652 100644
--- a/exercises/054_manypointers.zig
+++ b/exercises/054_manypointers.zig
@@ -27,9 +27,9 @@ pub fn main() void {
// long as you keep track of the length yourself!
//
// A "string" in Zig is a pointer to an array of const u8 values
- // or a slice of const u8 values, into one, 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!)
+ // (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!)
//
// Please fix this line so the print below statement can print it:
const zen12_string: []const u8 = zen_manyptr;