From acaf051e4cad70f17e48cd595f7908dfdb2914d6 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 14 Feb 2021 10:49:09 -0500 Subject: Added ex 45 optionals (And secretly added the patches/ dir. Don't tell anybody!) --- patches/45_optionals.patch | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 patches/45_optionals.patch (limited to 'patches/45_optionals.patch') 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; -- cgit v1.2.3-ZIG