1
0
Fork 0
mirror of https://codeberg.org/ziglings/exercises.git synced 2025-06-08 01:57:02 +09:00

Update type info for StructField type in 082

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
This commit is contained in:
Yevhen Babiichuk (DustDFG) 2025-03-13 20:49:41 +02:00
parent eeb1246c2c
commit 6f3cdcf018
3 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
--- exercises/082_anonymous_structs3.zig 2024-09-07 19:13:58.210327580 +0200
+++ answers/082_anonymous_structs3.zig 2024-09-07 19:21:20.972733477 +0200
--- exercises/082_anonymous_structs3.zig 2025-03-14 16:41:17.892873287 +0200
+++ answers/082_anonymous_structs3.zig 2025-03-14 16:40:56.043829543 +0200
@@ -82,14 +82,14 @@
// @typeInfo(Circle).@"struct".fields
//
@ -17,7 +17,7 @@
// 3. Print the field's name, type, and value.
//
// Each 'field' in this loop is one of these:
@@ -117,9 +117,9 @@
@@ -119,9 +119,9 @@
//
// The first field should print as: "0"(bool):true
print("\"{s}\"({any}):{any} ", .{