aboutsummaryrefslogtreecommitdiff
path: root/exercises/066_comptime.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-24 12:37:27 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-24 12:37:27 -0400
commit92307078d5142fd35df210f4764381c06198c364 (patch)
tree5b04db7067f808c334a5bd8c478b47169789b0c3 /exercises/066_comptime.zig
parent91935bac203193baf492d996cc6b1b231d6ed384 (diff)
downloadziglings-92307078d5142fd35df210f4764381c06198c364.tar.gz
ziglings-92307078d5142fd35df210f4764381c06198c364.tar.bz2
ziglings-92307078d5142fd35df210f4764381c06198c364.tar.xz
ziglings-92307078d5142fd35df210f4764381c06198c364.zip
Fix typo in 066 (issue #46)
Diffstat (limited to 'exercises/066_comptime.zig')
-rw-r--r--exercises/066_comptime.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/exercises/066_comptime.zig b/exercises/066_comptime.zig
index 879ae48..262bf6f 100644
--- a/exercises/066_comptime.zig
+++ b/exercises/066_comptime.zig
@@ -41,9 +41,8 @@ pub fn main() void {
//
// When we use these identifiers in our program, the VALUES
// are inserted at compile time into the executable code. The
- // identifiers "my_int" and "my_float" don't really exist in
- // our compiled application and do not refer to any
- // particular areas of memory!
+ // IDENTIFIERS "const_int" and "const_float" don't exist in
+ // our compiled application!
const const_int = 12345;
const const_float = 987.654;