Merge pull request #92 from InKryption/patch-1

Update information to be accurate to the semantics of string literals
pull/2/head
Dave Gauer 3 years ago committed by GitHub
commit 3f922a3529

@ -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!
//

Loading…
Cancel
Save