We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e9124b commit 9fce9bdCopy full SHA for 9fce9bd
exercises/059_integers.zig
@@ -6,7 +6,8 @@
6
// const a2: u8 = 0x41; // hexadecimal
7
// const a3: u8 = 0o101; // octal
8
// const a4: u8 = 0b1000001; // binary
9
-// const a5: u8 = 'A'; // UTF-8 code point literal
+// const a5: u8 = 'A'; // ASCII code point literal
10
+// const a6: u16 = 'Ȁ'; // Unicode code points can take up to 21 bits
11
//
12
// You can also place underscores in numbers to aid readability:
13
patches/patches/059_integers.patch
@@ -1,4 +1,4 @@
1
-22,24c22,24
+23,25c23,25
2
< 0o131, // octal
3
< 0b1101000, // binary
4
< 0x66, // hex
0 commit comments