mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Add ex066, the first comptime explanation
This commit is contained in:
6
patches/patches/066_comptime.patch
Normal file
6
patches/patches/066_comptime.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user