aboutsummaryrefslogtreecommitdiff
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
commit23832f7f1f1146b2c4f564df22c37d051eac59d1 (patch)
treeb7cd742ada551dde2883d4dbb785964d65643219
parent12fe55d2d837424dfa2d38dc29e747b80aa0b422 (diff)
parentfa0abdc79f75e8ac5e98b8cab0605a998655f6e6 (diff)
downloadziglings-23832f7f1f1146b2c4f564df22c37d051eac59d1.tar.gz
ziglings-23832f7f1f1146b2c4f564df22c37d051eac59d1.tar.bz2
ziglings-23832f7f1f1146b2c4f564df22c37d051eac59d1.tar.xz
ziglings-23832f7f1f1146b2c4f564df22c37d051eac59d1.zip
Merge pull request #10 from tijb/patch-1
Update 03_assignment.zig | Missing Line In Example
-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