mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Added note about single vs double quotes
This commit is contained in:
parent
ff2659410c
commit
18bf4c76b3
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
//
|
||||
// const foo = [_]u8{ 'H', 'e', 'l', 'l', 'o' };
|
||||
//
|
||||
// Notice how individual characters use single quotes ('H') and
|
||||
// strings use double quotes ("H"). These are not interchangeable!
|
||||
//
|
||||
const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
|
|
Loading…
Reference in a new issue