aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-17 17:05:16 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-17 17:05:16 -0400
commit1355f550fb1ad128a7cc744f34a4f53874ae3730 (patch)
treec5e33eb8a420753e234ba60ecf594d667b68984e /exercises
parent284e90015faf0cdfe5027ebe16bd5cca547ffade (diff)
downloadziglings-1355f550fb1ad128a7cc744f34a4f53874ae3730.tar.gz
ziglings-1355f550fb1ad128a7cc744f34a4f53874ae3730.tar.bz2
ziglings-1355f550fb1ad128a7cc744f34a4f53874ae3730.tar.xz
ziglings-1355f550fb1ad128a7cc744f34a4f53874ae3730.zip
Added note about single vs double quotes
Diffstat (limited to 'exercises')
-rw-r--r--exercises/006_strings.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/exercises/006_strings.zig b/exercises/006_strings.zig
index 6258816..8ff98f5 100644
--- a/exercises/006_strings.zig
+++ b/exercises/006_strings.zig
@@ -11,6 +11,9 @@
//
// const foo = [_]u8{ 'H', 'e', 'l', 'l', 'o' };
//
+// Notice how individual characters use single quotes ('H') and
+// strings use double quotes ("H"). These are not interchangeable!
+//
const std = @import("std");
pub fn main() void {