From f6514ebb13d842da721084f8d4dc2fdb224c7d86 Mon Sep 17 00:00:00 2001 From: omihirofumi <99390907+omihirofumi@users.noreply.github.com> Date: Thu, 25 Jun 2026 12:23:02 +0900 Subject: fix comment `field_types` is a slice of (strings -> types) --- exercises/065_builtins2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/065_builtins2.zig') 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; -- cgit v1.2.3