diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-02-28 18:36:38 -0500 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-02-28 18:36:38 -0500 |
commit | 95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8 (patch) | |
tree | 9d23bc6cb49a6b475b1147b0dc83d3866a10aa51 /patches | |
parent | 2d205d9645b6c7947e3016fca98dfaf533d3f5e2 (diff) | |
download | ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.gz ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.bz2 ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.xz ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.zip |
Add ex 50 'no values' (help further address #25)
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/50_no_value.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/patches/50_no_value.patch b/patches/patches/50_no_value.patch new file mode 100644 index 0000000..79db0a3 --- /dev/null +++ b/patches/patches/50_no_value.patch @@ -0,0 +1,14 @@ +68c68 +< var first_line1: *const [16]u8 = ???; +--- +> var first_line1: *const [16]u8 = undefined; +71c71 +< var first_line2: Err!*const [21]u8 = ???; +--- +> var first_line2: Err!*const [21]u8 = Err.Cthulhu; +79,80c79,80 +< fn printSecondLine() ??? { +< var second_line2: ?*const [18]u8 = ???; +--- +> fn printSecondLine() void { +> var second_line2: ?*const [18]u8 = null; |