mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-08-02 22:55:37 +00:00
fix: clarify comment in 046_optionals2
This commit is contained in:
parent
776316e60b
commit
4d796a1bf9
|
@ -30,7 +30,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.
|
||||
// The tail of the last elephant is left "pointing" to nothing.
|
||||
elephantA.tail = &elephantB;
|
||||
elephantB.tail = &elephantC;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user