From 26f4785a992493fb06505479cfb37e2c18b1c13e Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sat, 7 Sep 2024 19:21:57 +0200 Subject: [PATCH] Corrects the description of the new @typeInfo().@"struct".fields --- exercises/082_anonymous_structs3.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/082_anonymous_structs3.zig b/exercises/082_anonymous_structs3.zig index 6760ff3..573d0bb 100644 --- a/exercises/082_anonymous_structs3.zig +++ b/exercises/082_anonymous_structs3.zig @@ -75,11 +75,11 @@ fn printTuple(tuple: anytype) void { // with fields specific to that type. // // The list of a struct type's fields can be found in - // TypeInfo's Struct.fields. + // TypeInfo's @"struct".fields. // // Example: // - // @typeInfo(Circle).Struct.fields + // @typeInfo(Circle).@"struct".fields // // This will be an array of StructFields. const fields = ???;