From d52f360731fcfaf47818addfd61332bf0c0e39a5 Mon Sep 17 00:00:00 2001 From: lording Date: Thu, 22 Jun 2023 12:11:24 +0000 Subject: Update outdated comments --- exercises/036_enums2.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exercises/036_enums2.zig') diff --git a/exercises/036_enums2.zig b/exercises/036_enums2.zig index 3348f86..dc2998c 100644 --- a/exercises/036_enums2.zig +++ b/exercises/036_enums2.zig @@ -6,10 +6,10 @@ // const Stuff = enum(u8){ foo = 16 }; // // You can get the integer out with a builtin function, -// @enumToInt(). We'll learn about builtins properly in a later +// @intFromEnum(). We'll learn about builtins properly in a later // exercise. // -// const my_stuff: u8 = @enumToInt(Stuff.foo); +// const my_stuff: u8 = @intFromEnum(Stuff.foo); // // Note how that built-in function starts with "@" just like the // @import() function we've been using. -- cgit v1.2.3-70-g09d2