diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-13 20:47:05 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-13 20:47:05 -0400 |
commit | e780328b253dfd948ca84535767c98dd2adf383e (patch) | |
tree | cbbae2e2e087218dc3e2a4a269343a65d5cc6684 /patches | |
parent | 5bd5e1f25ca36dd8aef7ebe98700cff6b64f54ea (diff) | |
download | ziglings-e780328b253dfd948ca84535767c98dd2adf383e.tar.gz ziglings-e780328b253dfd948ca84535767c98dd2adf383e.tar.bz2 ziglings-e780328b253dfd948ca84535767c98dd2adf383e.tar.xz ziglings-e780328b253dfd948ca84535767c98dd2adf383e.zip |
Add ex066, the first comptime explanation
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/066_comptime.patch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/066_comptime.patch b/patches/patches/066_comptime.patch new file mode 100644 index 0000000..e7130c2 --- /dev/null +++ b/patches/patches/066_comptime.patch @@ -0,0 +1,6 @@ +65,66c65,66 +< var var_int = 12345; +< var var_float = 987.654; +--- +> var var_int: u32 = 12345; +> var var_float: f32 = 987.654; |