|
@@ -7,9 +7,11 @@
|
|
|
//
|
|
|
// const foo = "Hello";
|
|
|
//
|
|
|
-// Is the same as:
|
|
|
+// Is almost* the same as:
|
|
|
//
|
|
|
-// const foo = &[_:0]u8{ 'H', 'e', 'l', 'l', 'o' };
|
|
|
+// 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!
|