Browse Source

Merge pull request #92 from InKryption/patch-1

Update information to be accurate to the semantics of string literals
Dave Gauer 3 years ago
parent
commit
3f922a3529
1 changed files with 3 additions and 1 deletions
  1. 3 1
      exercises/006_strings.zig

+ 3 - 1
exercises/006_strings.zig

@@ -7,10 +7,12 @@
 //
 //     const foo = "Hello";
 //
-// Is the same as:
+// Is almost* the same as:
 //
 //     const foo = [_]u8{ 'H', 'e', 'l', 'l', 'o' };
 //
+// (* We'll see what Zig strings REALLY are in Exercise 77.)
+//
 // Notice how individual characters use single quotes ('H') and
 // strings use double quotes ("H"). These are not interchangeable!
 //