diff options
| author | Dave Gauer <[email protected]> | 2021-04-17 17:05:16 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2021-04-17 17:05:16 -0400 |
| commit | 18bf4c76b3e6484e7629f7f085f31d3981afa469 (patch) | |
| tree | c5e33eb8a420753e234ba60ecf594d667b68984e | |
| parent | ff2659410cda4a563118a2d30922bf5ef2c1701f (diff) | |
| download | ziglings-18bf4c76b3e6484e7629f7f085f31d3981afa469.tar.xz ziglings-18bf4c76b3e6484e7629f7f085f31d3981afa469.zip | |
Added note about single vs double quotes
| -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 { |
