Fix typo
This commit is contained in:
parent
2f0f823a73
commit
a8a11ac0bb
|
@ -11,7 +11,7 @@ const Elephant = struct {
|
|||
|
||||
// New Elephant 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 {
|
||||
|
|
Loading…
Reference in New Issue