mention builtin ex coming up

This commit is contained in:
Dave Gauer 2021-04-10 14:45:25 -04:00
parent 88a8f4788d
commit 4251076b50
3 changed files with 10 additions and 2 deletions

View file

@ -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);
//