aboutsummaryrefslogtreecommitdiff
path: root/patches/45_optionals.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/45_optionals.patch')
-rw-r--r--patches/45_optionals.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/patches/45_optionals.patch b/patches/45_optionals.patch
new file mode 100644
index 0000000..c945b5a
--- /dev/null
+++ b/patches/45_optionals.patch
@@ -0,0 +1,4 @@
+32c32
+< var answer: u8 = result;
+---
+> var answer: u8 = result orelse 42;