diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-17 17:05:16 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-17 17:05:16 -0400 |
commit | 1355f550fb1ad128a7cc744f34a4f53874ae3730 (patch) | |
tree | c5e33eb8a420753e234ba60ecf594d667b68984e /exercises/006_strings.zig | |
parent | 284e90015faf0cdfe5027ebe16bd5cca547ffade (diff) | |
download | ziglings-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/006_strings.zig')
-rw-r--r-- | exercises/006_strings.zig | 3 |
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 { |