diff options
| author | omihirofumi <99390907+omihirofumi@users.noreply.github.com> | 2026-06-25 12:23:02 +0900 |
|---|---|---|
| committer | omihirofumi <99390907+omihirofumi@users.noreply.github.com> | 2026-06-25 12:26:17 +0900 |
| commit | f6514ebb13d842da721084f8d4dc2fdb224c7d86 (patch) | |
| tree | 43fa812839dca84e6c30f284674e458a27cb3116 /exercises | |
| parent | 529b294cc3da53702905cace380c3e5d9282a69a (diff) | |
fix comment `field_types` is a slice of (strings -> types)
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/065_builtins2.zig | 2 |
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; |
