aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2022-02-22 18:50:19 -0500
committerGitHub <noreply@github.com>2022-02-22 18:50:19 -0500
commit3f922a35293c3e5e8cad08f400e4003075cec071 (patch)
tree2fd1767d721a1c462d53829e8b8bb26e4ad61f90
parent60588190987a7fda8b836d5cecc9525135c10d31 (diff)
parent66a1f7bb61b8998903c4495507453cac4a4449da (diff)
Merge pull request #92 from InKryption/patch-1
Update information to be accurate to the semantics of string literals
-rw-r--r--exercises/006_strings.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/exercises/006_strings.zig b/exercises/006_strings.zig
index 8ff98f5..5a7172c 100644
--- a/exercises/006_strings.zig
+++ b/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!
//