mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Update 03_assignment.zig
Looks like one of the example lines was missing.
This commit is contained in:
parent
7023b5345c
commit
b89eb8bf04
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@
|
||||||
// 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)
|
||||||
//
|
//
|
||||||
|
// const foo: u8 = 20;
|
||||||
|
// var bar: u16 = 2000;
|
||||||
|
//
|
||||||
// You can do just about any combination of these that you can think of:
|
// You can do just about any combination of these that you can think of:
|
||||||
//
|
//
|
||||||
// u32 can hold 0 to 4,294,967,295
|
// u32 can hold 0 to 4,294,967,295
|
||||||
|
|
Loading…
Reference in a new issue