diff options
author | Dave Gauer <ratfactor@gmail.com> | 2021-06-14 10:43:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 10:43:07 -0400 |
commit | e2e2c6280e6a271d1abaa6e82b1a01cd5b1147a3 (patch) | |
tree | 7202f8fc34b9392404f238c31d0c82173cb407cd /exercises/008_quiz.zig | |
parent | 0130580427ef8b13f87614667ba97977243cdf54 (diff) | |
parent | 447b913c38af8131678fc2be6634a4947d329725 (diff) | |
download | ziglings-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
Diffstat (limited to 'exercises/008_quiz.zig')
-rw-r--r-- | exercises/008_quiz.zig | 2 |
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: |