aboutsummaryrefslogtreecommitdiff
path: root/exercises/069_comptime4.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/069_comptime4.zig')
-rw-r--r--exercises/069_comptime4.zig2
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.