aboutsummaryrefslogtreecommitdiff
path: root/exercises/048_methods2.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/048_methods2.zig')
-rw-r--r--exercises/048_methods2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/048_methods2.zig b/exercises/048_methods2.zig
index 310867a..d8d72d4 100644
--- a/exercises/048_methods2.zig
+++ b/exercises/048_methods2.zig
@@ -54,7 +54,7 @@ fn visitElephants(first_elephant: *Elephant) void {
// This gets the next elephant or stops.
if (e.hasTail()) {
- e = e.???; // Which method do we want here?
+ e = e.getTail(); // Which method do we want here?
} else {
break;
}