aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInKryption <59504965+InKryption@users.noreply.github.com>2022-02-20 19:24:36 +0100
committerGitHub <noreply@github.com>2022-02-20 19:24:36 +0100
commit2699a3c21d5ee46c7a46113cd0c864b90e8a539a (patch)
tree49f04dcfc9f646b47c67623a73d99e8efb12b850
parentfa2657ad2eff0750c5aea32ff92a5f4b61f78c1a (diff)
downloadziglings-2699a3c21d5ee46c7a46113cd0c864b90e8a539a.tar.gz
ziglings-2699a3c21d5ee46c7a46113cd0c864b90e8a539a.tar.bz2
ziglings-2699a3c21d5ee46c7a46113cd0c864b90e8a539a.tar.xz
ziglings-2699a3c21d5ee46c7a46113cd0c864b90e8a539a.zip
Update information to be accurate to the semantics of string literals
-rw-r--r--exercises/006_strings.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/006_strings.zig b/exercises/006_strings.zig
index 8ff98f5..5c4d951 100644
--- a/exercises/006_strings.zig
+++ b/exercises/006_strings.zig
@@ -9,7 +9,7 @@
//
// Is the same as:
//
-// const foo = [_]u8{ 'H', 'e', 'l', 'l', 'o' };
+// const foo = &[_:0]u8{ 'H', 'e', 'l', 'l', 'o' };
//
// Notice how individual characters use single quotes ('H') and
// strings use double quotes ("H"). These are not interchangeable!