From 621d72db56dfcf7427b4bac238493afd6d37f780 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Mon, 14 Jun 2021 11:26:04 -0400 Subject: New usize explanation 008, etc. --- patches/patches/008_quiz.patch | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'patches') 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[???]; --- -- cgit v1.2.3-ZIG