Browse Source

Merge branch 'main' of github.com:ratfactor/ziglings into main

Dave Gauer 4 years ago
parent
commit
989648d2cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exercises/008_quiz.zig

+ 1 - 1
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: