diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-09-07 17:25:35 +0000 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-09-07 17:25:35 +0000 |
| commit | 3dc79ca9c3300181c82c806bf719964cb915954a (patch) | |
| tree | 58b97bd4000ad89479f0d4cd35624f95cc8f4a2f /exercises | |
| parent | b9cde40610e04ce0acacb4f3f26b145e9094dbb5 (diff) | |
| parent | 26f4785a992493fb06505479cfb37e2c18b1c13e (diff) | |
Merge pull request 'Corrects the description of the new @typeInfo().@"struct".fields' (#157) from p_struct_typeinfo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/157
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/082_anonymous_structs3.zig | 4 |
1 files 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 = ???; |
