diff --git a/README.md b/README.md index f4bb1a74..65c52fe6 100644 --- a/README.md +++ b/README.md @@ -563,6 +563,8 @@ Variables used for string interpolation must support the `to_string` method. let a : Char = 'A' let b = '\x41' let c = '🐰' +let zero = '\u{30}' +let zero = '\u0030' ``` ### Byte diff --git a/zh-docs/README.md b/zh-docs/README.md index e98520da..cc561740 100644 --- a/zh-docs/README.md +++ b/zh-docs/README.md @@ -564,6 +564,8 @@ fn init { let a : Char = 'A' let b = '\x41' let c = '🐰' +let zero = '\u{30}' +let zero = '\u0030' ``` ### 字节