Merge pull request #58 from ZapAnton/008_replace_index_var_type

008_quiz: Replaced the type of the index variable
This commit is contained in:
Dave Gauer 2021-06-14 10:43:07 -04:00 committed by GitHub
commit 8df032e495

View file

@ -13,7 +13,7 @@ pub fn main() void {
// What is this nonsense? :-) // What is this nonsense? :-)
const letters = "YZhifg"; const letters = "YZhifg";
const x: u8 = 1; const x: usize = 1;
// This is something you haven't seen before: declaring an array // This is something you haven't seen before: declaring an array
// without putting anything in it. There is no error here: // without putting anything in it. There is no error here: