this means

This commit is contained in:
Roman Frołow 2021-05-13 14:01:54 +02:00 committed by GitHub
parent be279c78f5
commit 4bdf39bfe5

View file

@ -17,7 +17,7 @@ const Elephant = struct {
// Elephant tail methods! // Elephant tail 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 {