diff options
| author | Dave Gauer <dave@ratfactor.com> | 2021-02-28 13:51:33 -0500 |
|---|---|---|
| committer | Dave Gauer <dave@ratfactor.com> | 2021-02-28 13:51:33 -0500 |
| commit | 0552a62896696804957af77a94188dbc6eec2be0 (patch) | |
| tree | c9523b67ec4b53470c1746d023e34c2bc6fc409a /patches | |
| parent | 5f7e9389d5a8d5829f9a7a7fe50153e3d82abf7f (diff) | |
Added quiz 6 (and the trumpeting sounds grow louder)
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/49_quiz6.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/patches/49_quiz6.patch b/patches/patches/49_quiz6.patch new file mode 100644 index 0000000..83f9faf --- /dev/null +++ b/patches/patches/49_quiz6.patch @@ -0,0 +1,11 @@ +28a29,31 +> pub fn getTrunk(self: *Elephant) *Elephant { +> return self.trunk.?; +> } +30,31c33,35 +< ??? +< +--- +> pub fn hasTrunk(self: *Elephant) bool { +> return (self.trunk != null); +> } |
