aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches/071_comptime6.patch
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-10-05 19:18:20 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-10-05 19:18:20 +0000
commit1c7e35e193de241a80bdf020ae078083b64c4998 (patch)
treeb6e644084edac8db9b4f69ff7063fc9ff3107b55 /patches/patches/071_comptime6.patch
parentca378251272f134e132397aa9eff41898061d410 (diff)
parent9003544446138c7a8da83c0725bfff20841476d9 (diff)
Merge pull request 'changed the patch files that we can also use them with busybox for testing in Woodpecker' (#8) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/8
Diffstat (limited to 'patches/patches/071_comptime6.patch')
-rw-r--r--patches/patches/071_comptime6.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/patches/patches/071_comptime6.patch b/patches/patches/071_comptime6.patch
index 0c6b3ad..8731344 100644
--- a/patches/patches/071_comptime6.patch
+++ b/patches/patches/071_comptime6.patch
@@ -1,4 +1,11 @@
-43c43
-< ??? {
----
-> inline for (fields) |field| {
+--- exercises/071_comptime6.zig 2023-10-03 22:15:22.125574535 +0200
++++ answers/071_comptime6.zig 2023-10-05 20:04:07.162768879 +0200
+@@ -40,7 +40,7 @@
+
+ const fields = @typeInfo(Narcissus).Struct.fields;
+
+- ??? {
++ inline for (fields) |field| {
+ if (field.type != void) {
+ print(" {s}", .{field.name});
+ }