diff --git a/doc/langref.html.in b/doc/langref.html.in index 28d8745a81..60ad76197a 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -566,7 +566,7 @@ test "string literals" { assert(normal_bytes.len == 5); assert(normal_bytes[1] == 'e'); assert('e' == '\x65'); - assert('\U01f4a9' == 128169); + assert('\u{1f4a9}' == 128169); assert(mem.eql(u8, "hello", "h\x65llo")); // A C string literal is a null terminated pointer. @@ -616,12 +616,8 @@ test "string literals" {
\uNNNN\UNNNNNN\u{NNNNNN}