aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-06-14 10:43:07 -0400
committerGitHub <noreply@github.com>2021-06-14 10:43:07 -0400
commite2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3 (patch)
tree7202f8fc34b9392404f238c31d0c82173cb407cd
parent0130580427ef8b13f87614667ba97977243cdf54 (diff)
parent447b913c38af8131678fc2be6634a4947d329725 (diff)
downloadziglings-e2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3.tar.gz
ziglings-e2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3.tar.bz2
ziglings-e2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3.tar.xz
ziglings-e2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3.zip
Merge pull request #58 from ZapAnton/008_replace_index_var_type
008_quiz: Replaced the type of the index variable
-rw-r--r--exercises/008_quiz.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/008_quiz.zig b/exercises/008_quiz.zig
index eda66b8..309a8ae 100644
--- a/exercises/008_quiz.zig
+++ b/exercises/008_quiz.zig
@@ -13,7 +13,7 @@ pub fn main() void {
// What is this nonsense? :-)
const letters = "YZhifg";
- const x: u8 = 1;
+ const x: usize = 1;
// This is something you haven't seen before: declaring an array
// without putting anything in it. There is no error here: