Skip to content

Commit dd698c8

Browse files
authored
Merge pull request #1422 from SwiftGGTeam/Special-Char-Issue
fixed issue #1419
2 parents 110e4b1 + 76f390b commit dd698c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-6.docc/LanguageGuide/StringsAndCharacters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ It also ends with a line break.
177177

178178
字符串字面量可以包含以下特殊字符:
179179

180-
- 转义字符 `\0`(空字符)、`\\`(反斜线)、`\r`(水平制表符)、`\t`(换行符)、`\n`(回车符)、`\"`(双引号)、`\'`(单引号)。
180+
- 转义字符 `\0`(空字符)、`\\`(反斜线)、`\t`(水平制表符)、`\n`(换行符)、`\r`(回车符)、`\"`(双引号)、`\'`(单引号)。
181181

182182
- 任意的 Unicode 标量,可以写成 `\u{`n`}`(u 为小写),其中n为任意一到八位十六进制数且可用的 Unicode 位码。
183183
(Unicode在文档<doc:StringsAndCharacters#Unicode> 中进行解析讨论)

0 commit comments

Comments
 (0)