diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-10 14:45:25 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-10 14:45:25 -0400 |
commit | 4251076b50082023f609e2823b143993f7749b57 (patch) | |
tree | 8e307b81417a4755b78d18f34ecfef6777964baa /exercises/036_enums2.zig | |
parent | 88a8f4788db2fde6f8e957abe3fceacf530d011c (diff) | |
download | ziglings-4251076b50082023f609e2823b143993f7749b57.tar.gz ziglings-4251076b50082023f609e2823b143993f7749b57.tar.bz2 ziglings-4251076b50082023f609e2823b143993f7749b57.tar.xz ziglings-4251076b50082023f609e2823b143993f7749b57.zip |
mention builtin ex coming up
Diffstat (limited to 'exercises/036_enums2.zig')
-rw-r--r-- | exercises/036_enums2.zig | 4 |
1 files changed, 3 insertions, 1 deletions
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); // |