mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-03-28 21:34:52 +00:00
update patch file
This commit is contained in:
parent
2e981d408f
commit
53f7e015cb
|
|
@ -1,5 +1,5 @@
|
||||||
--- exercises/082_anonymous_structs3.zig 2025-03-14 16:41:17.892873287 +0200
|
--- exercises/082_anonymous_structs3.zig 2026-02-27 13:05:46
|
||||||
+++ answers/082_anonymous_structs3.zig 2025-03-14 16:40:56.043829543 +0200
|
+++ answers/082_anonymous_structs3.zig 2026-02-27 13:07:22
|
||||||
@@ -82,14 +82,14 @@
|
@@ -82,14 +82,14 @@
|
||||||
// @typeInfo(Circle).@"struct".fields
|
// @typeInfo(Circle).@"struct".fields
|
||||||
//
|
//
|
||||||
|
|
@ -17,9 +17,9 @@
|
||||||
// 3. Print the field's name, type, and value.
|
// 3. Print the field's name, type, and value.
|
||||||
//
|
//
|
||||||
// Each 'field' in this loop is one of these:
|
// Each 'field' in this loop is one of these:
|
||||||
@@ -119,9 +119,9 @@
|
@@ -123,9 +123,9 @@
|
||||||
|
// for declarations. If it's a value, it looks for data.
|
||||||
//
|
//
|
||||||
// The first field should print as: "0"(bool):true
|
|
||||||
print("\"{s}\"({any}):{any} ", .{
|
print("\"{s}\"({any}):{any} ", .{
|
||||||
- field.???,
|
- field.???,
|
||||||
- field.???,
|
- field.???,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user