summaryrefslogtreecommitdiff
path: root/exercises/061_coercions.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/061_coercions.zig')
-rw-r--r--exercises/061_coercions.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/061_coercions.zig b/exercises/061_coercions.zig
index ccf3c9b..6166144 100644
--- a/exercises/061_coercions.zig
+++ b/exercises/061_coercions.zig
@@ -67,11 +67,11 @@ const print = @import("std").debug.print;
pub fn main() void {
var letter: u8 = 'A';
- const my_letter: ??? = &letter;
+ const my_letter: ?*[1]u8 = &letter;
// ^^^^^^^
// Your type here.
// Must coerce from &letter (which is a *u8).
- // Hint: Use coercion Rules 4 and 5.
+ // Hint: Use coercion Rules 3 and 5.
// When it's right, this will work:
print("Letter: {u}\n", .{my_letter.?.*[0]});