mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
Merge pull request #10 from tijb/patch-1
Update 03_assignment.zig | Missing Line In Example
This commit is contained in:
commit
34f03b0e96
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@
|
|||
// Example: foo can hold 8 bits (0 to 255)
|
||||
// bar can hold 16 bits (0 to 65,535)
|
||||
//
|
||||
// const foo: u8 = 20;
|
||||
// const bar: u16 = 2000;
|
||||
//
|
||||
// You can do just about any combination of these that you can think of:
|
||||
//
|
||||
// u32 can hold 0 to 4,294,967,295
|
||||
|
|
Loading…
Reference in a new issue