mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
Fix typo in 066 (issue #46)
This commit is contained in:
parent
f3a7b57385
commit
5d7217dcbf
2 changed files with 3 additions and 4 deletions
|
@ -41,9 +41,8 @@ pub fn main() void {
|
||||||
//
|
//
|
||||||
// When we use these identifiers in our program, the VALUES
|
// When we use these identifiers in our program, the VALUES
|
||||||
// are inserted at compile time into the executable code. The
|
// are inserted at compile time into the executable code. The
|
||||||
// identifiers "my_int" and "my_float" don't really exist in
|
// IDENTIFIERS "const_int" and "const_float" don't exist in
|
||||||
// our compiled application and do not refer to any
|
// our compiled application!
|
||||||
// particular areas of memory!
|
|
||||||
const const_int = 12345;
|
const const_int = 12345;
|
||||||
const const_float = 987.654;
|
const const_float = 987.654;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
65,66c65,66
|
64,65c64,65
|
||||||
< var var_int = 12345;
|
< var var_int = 12345;
|
||||||
< var var_float = 987.654;
|
< var var_float = 987.654;
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue