This commit is contained in:
Adam Millerchip 2022-01-01 16:51:07 +09:00
parent e89cb2ad40
commit cf9b90bf04
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const llamas = makeLlamas(llama_count);
// And here's the function. Note that the return value type
// depends on one of the input arguments!
fn makeLlamas(count: usize) [count]u8 {
fn makeLlamas(comptime count: usize) [count]u8 {
var temp: [count]u8 = undefined;
var i = 0;