mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
Fix typo
This commit is contained in:
parent
14c7e73343
commit
4364ebcf4b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const Elephant = struct {
|
||||||
|
|
||||||
// New Elephant methods!
|
// New Elephant methods!
|
||||||
pub fn getTail(self: *Elephant) *Elephant {
|
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 {
|
pub fn hasTail(self: *Elephant) bool {
|
||||||
|
|
Loading…
Reference in a new issue