aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/49_quiz6.patch11
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);
+> }