summaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-02-14 08:32:42 -0500
committerGitHub <noreply@github.com>2021-02-14 08:32:42 -0500
commit34f03b0e96b271803dc7d613d9fa2ff4867ac001 (patch)
treeb7cd742ada551dde2883d4dbb785964d65643219 /exercises
parent8edfe2f1574e30a5af8499484738e91d8c6c0b10 (diff)
parentcf3a7fa3988f6b08a59db41095fb62dbbe5870fd (diff)
Merge pull request #10 from tijb/patch-1
Update 03_assignment.zig | Missing Line In Example
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..662fd18 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;
+// 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