summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-03-22 10:47:00 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-03-22 10:47:00 +0000
commitd7052e4137a1e9de62ba8e10800642339e2b8eff (patch)
treeeb23e473b503541f1a6fa4cc9ce1e8b74ba6d88d /patches
parent7ce659f7fa670720510a6afd23cb63366e1adde9 (diff)
parent522b4673a426258d1299abd75021a9510644f9ba (diff)
Merge pull request 'fix: typos' (#222) from ddogfoodd/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/222
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/107_files2.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/patches/107_files2.patch b/patches/patches/107_files2.patch
index 7e2692f..95aaa0c 100644
--- a/patches/patches/107_files2.patch
+++ b/patches/patches/107_files2.patch
@@ -1,9 +1,9 @@
--- exercises/107_files2.zig 2025-03-13 15:26:59.532367792 +0200
+++ answers/107_files2.zig 2025-03-14 22:08:35.167953736 +0200
@@ -33,7 +33,7 @@
- // initalize an array of u8 with all letter 'A'
+ // initialize an array of u8 with all letter 'A'
// we need to pick the size of the array, 64 seems like a good number
- // fix the initalization below
+ // fix the initialization below
- var content = ['A']*64;
+ var content = [_]u8{'A'} ** 64;
// this should print out : `AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`