diff options
author | Matthew Robinson <matt@zensunni.org> | 2024-01-01 01:41:31 +0800 |
---|---|---|
committer | Matthew Robinson <matt@zensunni.org> | 2024-01-01 01:41:31 +0800 |
commit | 1a001b9eb7415962bf7b0b68d41d7edf5deb4a96 (patch) | |
tree | e4512f3b10b3db3d86857333fda0f66535df9303 /exercises/076_sentinels.zig | |
parent | e7c106ba3a0706722d314ee9f08f1a66be637348 (diff) |
Correct comment to match code in 076_sentinels
Diffstat (limited to 'exercises/076_sentinels.zig')
-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..881e600 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 => { |