Update information to be accurate to the semantics of string literals

This commit is contained in:
InKryption 2022-02-20 19:24:36 +01:00 committed by GitHub
parent fa2657ad2e
commit 2699a3c21d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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