exercises/patches/patches/049_quiz6.patch
Dave Gauer 0956f1839f "999 is enough for anybody" triple-zero padding (#18)
When I hit 999 exercises, I will finally have reached the ultimate
state of soteriological release and no more exercises will be needed.
The cycle will be complete. All that will be left is perfect quietude,
freedom, and highest happiness.
2021-03-12 18:59:46 -05:00

11 lines
221 B
Diff

28a29,31
> pub fn getTrunk(self: *Elephant) *Elephant {
> return self.trunk.?;
> }
30,31c33,35
< ???
<
---
> pub fn hasTrunk(self: *Elephant) bool {
> return (self.trunk != null);
> }