mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-26 09:30:31 +00:00
0956f1839f
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.
11 lines
221 B
Diff
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);
|
|
> }
|