From 1355f550fb1ad128a7cc744f34a4f53874ae3730 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sat, 17 Apr 2021 17:05:16 -0400 Subject: Added note about single vs double quotes --- exercises/006_strings.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'exercises') 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 { -- cgit v1.2.3-ZIG