mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Update information to be accurate to the semantics of string literals
This commit is contained in:
parent
6058819098
commit
b61186d6a5
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue