diff options
| author | Dave Gauer <[email protected]> | 2021-04-27 15:16:38 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2021-04-27 15:16:38 -0400 |
| commit | f3cf67cd65816a81bea5c44f59761a8a3945b7eb (patch) | |
| tree | b41538a1bfd3b6ce1db5eb13895da7cc85bf260e /exercises/048_methods2.zig | |
| parent | 9f71d3711e2488df83bd3253381ebc203d7421ec (diff) | |
| download | ziglings-f3cf67cd65816a81bea5c44f59761a8a3945b7eb.tar.xz ziglings-f3cf67cd65816a81bea5c44f59761a8a3945b7eb.zip | |
Clarify 048,049 comments from instructions (issue #48)
Diffstat (limited to 'exercises/048_methods2.zig')
| -rw-r--r-- | exercises/048_methods2.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/048_methods2.zig b/exercises/048_methods2.zig index 3ce6a6c..310867a 100644 --- a/exercises/048_methods2.zig +++ b/exercises/048_methods2.zig @@ -34,7 +34,7 @@ pub fn main() void { var elephantB = Elephant{ .letter = 'B' }; var elephantC = Elephant{ .letter = 'C' }; - // Link the elephants so that each tail "points" to the next. + // This links the elephants so that each tail "points" to the next. elephantA.tail = &elephantB; elephantB.tail = &elephantC; @@ -52,7 +52,7 @@ fn visitElephants(first_elephant: *Elephant) void { e.print(); e.visit(); - // Get the next elephant or stop. + // This gets the next elephant or stops. if (e.hasTail()) { e = e.???; // Which method do we want here? } else { |
