Merge pull request #13 from Ivan-Velickovic/main

04_arrays.zig - missing ":" for type of example array
This commit is contained in:
Dave Gauer 2021-02-13 21:59:17 -05:00 committed by GitHub
commit 12fe55d2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
//
// Let's learn some array basics. Arrays are declared with:
//
// var foo [3]u32 = [3]u32{ 42, 108, 5423 };
// var foo: [3]u32 = [3]u32{ 42, 108, 5423 };
//
// When Zig can infer the size of the array, you can use '_' for the
// size. You can also let Zig infer the type of the value so the