mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Merge branch 'main' into refactor-var-to-const
This commit is contained in:
@@ -57,8 +57,8 @@ pub fn main() void {
|
||||
\\</p>
|
||||
\\
|
||||
, .{
|
||||
@enumToInt(Color.red),
|
||||
@enumToInt(Color.green),
|
||||
@enumToInt(???), // Oops! We're missing something!
|
||||
@intFromEnum(Color.red),
|
||||
@intFromEnum(Color.green),
|
||||
@intFromEnum(???), // Oops! We're missing something!
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user