From 4251076b50082023f609e2823b143993f7749b57 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sat, 10 Apr 2021 14:45:25 -0400 Subject: mention builtin ex coming up --- exercises/036_enums2.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'exercises/036_enums2.zig') diff --git a/exercises/036_enums2.zig b/exercises/036_enums2.zig index e6337e9..820a71e 100644 --- a/exercises/036_enums2.zig +++ b/exercises/036_enums2.zig @@ -5,7 +5,9 @@ // // const Stuff = enum(u8){ foo = 16 }; // -// You can get the integer out with a built-in function: +// You can get the integer out with a builtin function, +// @enumToInt(). We'll learn about builtins properly in a later +// exercise. // // var my_stuff: u8 = @enumToInt(Stuff.foo); // -- cgit v1.2.3-ZIG