|
|
|
@ -17,7 +17,7 @@ const Elephant = struct {
|
|
|
|
|
|
|
|
|
|
// Elephant tail methods!
|
|
|
|
|
pub fn getTail(self: *Elephant) *Elephant {
|
|
|
|
|
return self.tail.?; // Remember, this is means "orelse unreachable"
|
|
|
|
|
return self.tail.?; // Remember, this means "orelse unreachable"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn hasTail(self: *Elephant) bool {
|
|
|
|
|