diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-01-04 20:47:06 +0000 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-01-04 20:47:06 +0000 |
commit | b7dfa4cd1df06536921600be34c6ea40e2780691 (patch) | |
tree | 8295b0329db6079823b5daba658aa2618b4409a5 /exercises | |
parent | e7c106ba3a0706722d314ee9f08f1a66be637348 (diff) | |
parent | 1ed03cf0a1a15ef2e62c5063f575edac4a627405 (diff) |
Merge pull request 'Correct comment to match code in 076_sentinels' (#33) from mttrb/ziglings:076-comment into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/33
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/076_sentinels.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/076_sentinels.zig b/exercises/076_sentinels.zig index 4b1afb1..357bd95 100644 --- a/exercises/076_sentinels.zig +++ b/exercises/076_sentinels.zig @@ -74,8 +74,8 @@ pub fn main() void { fn printSequence(my_seq: anytype) void { const my_typeinfo = @typeInfo(@TypeOf(my_seq)); - // The TypeInfo contained in my_type is a union. We use a - // switch to handle printing the Array or Pointer fields, + // The TypeInfo contained in my_typeinfo is a union. We use + // a switch to handle printing the Array or Pointer fields, // depending on which type of my_seq was passed in: switch (my_typeinfo) { .Array => { |