summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorJost Alemann <jost_alemann@me.com>2025-03-20 21:24:40 +0100
committerJost Alemann <jost_alemann@me.com>2025-03-20 21:24:40 +0100
commit522b4673a426258d1299abd75021a9510644f9ba (patch)
treeeb23e473b503541f1a6fa4cc9ce1e8b74ba6d88d /patches
parent7ce659f7fa670720510a6afd23cb63366e1adde9 (diff)
fix: typos
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`