This commit is contained in:
parent
e89cb2ad40
commit
cf9b90bf04
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue