aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-06-14 11:26:04 -0400
committerDave Gauer <dave@ratfactor.com>2021-06-14 11:26:04 -0400
commit621d72db56dfcf7427b4bac238493afd6d37f780 (patch)
tree4e9a726fe637fa8ed573aad5a36e9beeb3a9a8e6 /patches
parentf07615ef96564beb7b577ff207c418096651e548 (diff)
downloadziglings-621d72db56dfcf7427b4bac238493afd6d37f780.tar.gz
ziglings-621d72db56dfcf7427b4bac238493afd6d37f780.tar.bz2
ziglings-621d72db56dfcf7427b4bac238493afd6d37f780.tar.xz
ziglings-621d72db56dfcf7427b4bac238493afd6d37f780.zip
New usize explanation 008, etc.
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/008_quiz.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/patches/patches/008_quiz.patch b/patches/patches/008_quiz.patch
index 3d35a5a..a62be07 100644
--- a/patches/patches/008_quiz.patch
+++ b/patches/patches/008_quiz.patch
@@ -1,12 +1,16 @@
-16c16
-< const x: u8 = 1;
+22c22
+< const x: usize = 1;
---
-> var x: u8 = 1;
-27c27
+> var x: usize = 1;
+26c26
+< // 'undefined'. There is no problem on this line.
+---
+> // 'undefined'. There is no error here.
+36c36
< lang[???] = letters[x];
---
> lang[1] = letters[x];
-29,30c29,30
+38,39c38,39
< x = ???;
< lang[2] = letters[???];
---