mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
Fix broken builtin name in exercise 36
This commit is contained in:
parent
f09a87c348
commit
39952817b3
2 changed files with 5 additions and 5 deletions
|
@ -57,8 +57,8 @@ pub fn main() void {
|
||||||
\\</p>
|
\\</p>
|
||||||
\\
|
\\
|
||||||
, .{
|
, .{
|
||||||
@enumToInt(Color.red),
|
@intFromEnum(Color.red),
|
||||||
@enumToInt(Color.green),
|
@intFromEnum(Color.green),
|
||||||
@enumToInt(???), // Oops! We're missing something!
|
@intFromEnum(???), // Oops! We're missing something!
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
---
|
---
|
||||||
> \\ <span style="color: #{x:0>6}">Blue</span>
|
> \\ <span style="color: #{x:0>6}">Blue</span>
|
||||||
62c62
|
62c62
|
||||||
< @enumToInt(???), // Oops! We're missing something!
|
< @intFromEnum(???), // Oops! We're missing something!
|
||||||
---
|
---
|
||||||
> @enumToInt(Color.blue), // Oops! We're missing something!
|
> @intFromEnum(Color.blue), // Oops! We're missing something!
|
||||||
|
|
Loading…
Reference in a new issue