diff options
| author | tim bangma <[email protected]> | 2021-02-12 23:41:33 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-12 23:41:33 -0500 |
| commit | b89eb8bf0470538cdefd1838ff75a0f797efc378 (patch) | |
| tree | 2bb9f36ef3e8e36c50caa2ba67cbef349b687bc0 /exercises/03_assignment.zig | |
| parent | 7023b5345c4fc29aa58aebf47d1968c466da30e2 (diff) | |
| download | ziglings-b89eb8bf0470538cdefd1838ff75a0f797efc378.tar.xz ziglings-b89eb8bf0470538cdefd1838ff75a0f797efc378.zip | |
Update 03_assignment.zig
Looks like one of the example lines was missing.
Diffstat (limited to 'exercises/03_assignment.zig')
| -rw-r--r-- | exercises/03_assignment.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exercises/03_assignment.zig b/exercises/03_assignment.zig index d26f2a2..1a27d39 100644 --- a/exercises/03_assignment.zig +++ b/exercises/03_assignment.zig @@ -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; +// var 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 |
