summaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
authortim bangma <git.bangma@pm.me>2021-02-12 23:41:33 -0500
committerGitHub <noreply@github.com>2021-02-12 23:41:33 -0500
commitb89eb8bf0470538cdefd1838ff75a0f797efc378 (patch)
tree2bb9f36ef3e8e36c50caa2ba67cbef349b687bc0 /exercises
parent7023b5345c4fc29aa58aebf47d1968c466da30e2 (diff)
Update 03_assignment.zig
Looks like one of the example lines was missing.
Diffstat (limited to 'exercises')
-rw-r--r--exercises/03_assignment.zig3
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