Merge pull request #47 from ChrisMiuchiz/main

Fix typo
pull/2/head
Dave Gauer 3 years ago committed by GitHub
commit 0412719095

@ -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…
Cancel
Save