diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-21 17:13:58 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-21 17:13:58 -0400 |
commit | 55bede231b2e1069edaf8d73aa565d8382fcb2b4 (patch) | |
tree | 419e480bc3563ec55c11c6ab26f2560c9a31b031 | |
parent | 751b303362f98d8b62364d43cffd4d93034d4e10 (diff) | |
download | ziglings-55bede231b2e1069edaf8d73aa565d8382fcb2b4.tar.gz ziglings-55bede231b2e1069edaf8d73aa565d8382fcb2b4.tar.bz2 ziglings-55bede231b2e1069edaf8d73aa565d8382fcb2b4.tar.xz ziglings-55bede231b2e1069edaf8d73aa565d8382fcb2b4.zip |
missing return type from example in 069
-rw-r--r-- | exercises/069_comptime4.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/069_comptime4.zig b/exercises/069_comptime4.zig index d2aec5e..c1efa46 100644 --- a/exercises/069_comptime4.zig +++ b/exercises/069_comptime4.zig @@ -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. |