diff --git a/guide/chinese/swift/comments/index.md b/guide/chinese/swift/comments/index.md index b07c7f99dc..5d9aa62338 100644 --- a/guide/chinese/swift/comments/index.md +++ b/guide/chinese/swift/comments/index.md @@ -4,7 +4,7 @@ localeTitle: 注释 --- ## 注释 -注释允许您记录您的代码。 Swift编译器忽略注释,仅对阅读代码库的人有用。 +注释允许您备注您的代码。 Swift编译器忽略注释,仅对阅读代码库的人有用。 单行注释以两个正斜杠`//`开头。 @@ -14,7 +14,7 @@ localeTitle: 注释 // Hello, single-line comment! ``` -多行注释以正斜杠开头,后跟星号`/*` ,以星号后跟正斜杠`*/` +多行注释以正斜杠开头,后跟星号`/*` ,以星号后跟正斜杠做结尾`*/` #### 例: @@ -25,4 +25,4 @@ localeTitle: 注释 #### 更多信息: -* [Swift编程语言](https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html#ID315) \ No newline at end of file +* [Swift编程语言](https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html#ID315)