summaryrefslogtreecommitdiffstatshomepage
path: root/exercises
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
commit8df032e495ea07ae267a62f2e34091443295585e (patch)
tree7202f8fc34b9392404f238c31d0c82173cb407cd /exercises
parentb5c13537a0e8fdd3634521521e4f43c02950fe41 (diff)
parent965440b2a3809e0b74bb46298e4183cac22dfc1c (diff)
Merge pull request #58 from ZapAnton/008_replace_index_var_type
008_quiz: Replaced the type of the index variable
Diffstat (limited to 'exercises')
-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: