summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2026-06-26 12:45:34 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2026-06-26 12:45:34 +0200
commit12c8511412f45e79e40a7b5cb8a29039d8f40fa4 (patch)
treecf2c3b6a14bea179c8c8081582a412de9f0c73a3
parente55204d3429fbe4077c142e3a6a6e5a49e9ccb2b (diff)
parentf6514ebb13d842da721084f8d4dc2fdb224c7d86 (diff)
Merge pull request 'fix typo: `field_types` is a slice of strings -> `field_types` is a slice of types' (#473) from omihirofumi/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/473
-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;