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 | 2d205d9645b6c7947e3016fca98dfaf533d3f5e2 (patch) | |
tree | c9523b67ec4b53470c1746d023e34c2bc6fc409a /patches | |
parent | b12afaa577e5f9b0c3bf922ec5c1ab15893c7378 (diff) | |
download | ziglings-2d205d9645b6c7947e3016fca98dfaf533d3f5e2.tar.gz ziglings-2d205d9645b6c7947e3016fca98dfaf533d3f5e2.tar.bz2 ziglings-2d205d9645b6c7947e3016fca98dfaf533d3f5e2.tar.xz ziglings-2d205d9645b6c7947e3016fca98dfaf533d3f5e2.zip |
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); +> } |