summaryrefslogtreecommitdiff
path: root/exercises/065_builtins2.zig
diff options
context:
space:
mode:
authoromihirofumi <99390907+omihirofumi@users.noreply.github.com>2026-06-25 12:23:02 +0900
committeromihirofumi <99390907+omihirofumi@users.noreply.github.com>2026-06-25 12:26:17 +0900
commitf6514ebb13d842da721084f8d4dc2fdb224c7d86 (patch)
tree43fa812839dca84e6c30f284674e458a27cb3116 /exercises/065_builtins2.zig
parent529b294cc3da53702905cace380c3e5d9282a69a (diff)
fix comment `field_types` is a slice of (strings -> types)
Diffstat (limited to 'exercises/065_builtins2.zig')
-rw-r--r--exercises/065_builtins2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/065_builtins2.zig b/exercises/065_builtins2.zig
index 7bb3ac6..9d137ef 100644
--- a/exercises/065_builtins2.zig
+++ b/exercises/065_builtins2.zig
@@ -94,7 +94,7 @@ pub fn main() void {
print("He has room in his heart for:", .{});
// `field_names` is a slice of strings and it holds the names of the struct's fields
- // `field_types` is a slice of strings and it holds the types of the struct's fields,
+ // `field_types` is a slice of types and it holds the types of the struct's fields,
// it is guaranteed to be the same length as `field_names`
const field_names = @typeInfo(Narcissus).@"struct".field_names;
const field_types = @typeInfo(Narcissus).@"struct".field_types;