missing return type from example in 069

This commit is contained in:
Dave Gauer 2021-04-21 17:13:58 -04:00
parent 751b303362
commit 55bede231b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
// One of the more common uses of 'comptime' function parameters is
// passing a type to a function:
//
// fn foo(comptime MyType: type) { ... }
// fn foo(comptime MyType: type) void { ... }
//
// In fact, types are ONLY available at compile time, so the
// 'comptime' keyword is required here.