mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-11 09:29:59 +00:00
03 assignment - var to const in example for clarity
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
// bar CAN be negative and can hold −128 to 127
|
// bar CAN be negative and can hold −128 to 127
|
||||||
//
|
//
|
||||||
// const foo: u8 = 20;
|
// const foo: u8 = 20;
|
||||||
// var bar: i8 = -20;
|
// const bar: i8 = -20;
|
||||||
//
|
//
|
||||||
// Example: foo can hold 8 bits (0 to 255)
|
// Example: foo can hold 8 bits (0 to 255)
|
||||||
// bar can hold 16 bits (0 to 65,535)
|
// bar can hold 16 bits (0 to 65,535)
|
||||||
|
|||||||
Reference in New Issue
Block a user