Added note about single vs double quotes

This commit is contained in:
Dave Gauer 2021-04-17 17:05:16 -04:00
parent ff2659410c
commit 18bf4c76b3

View file

@ -11,6 +11,9 @@
// //
// const foo = [_]u8{ 'H', 'e', 'l', 'l', 'o' }; // 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"); const std = @import("std");
pub fn main() void { pub fn main() void {