aboutsummaryrefslogtreecommitdiff
path: root/exercises/03_assignment.zig
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-02-14 10:50:03 -0500
committerDave Gauer <[email protected]>2021-02-14 10:50:03 -0500
commitd4739ac00a3bdcca86b098e9e0c9511d22c98cb0 (patch)
tree779373337f1f56e24709cbb89a597bb0ff3d6838 /exercises/03_assignment.zig
parent545573fc84c2b8e3f281de7eb9bc52281536d5b3 (diff)
parent6a00d37d03af50e9af1ef0892304036942ce7d2e (diff)
downloadziglings-d4739ac00a3bdcca86b098e9e0c9511d22c98cb0.tar.xz
ziglings-d4739ac00a3bdcca86b098e9e0c9511d22c98cb0.zip
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/03_assignment.zig')
-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