修复一处错别字 (#1105)

"字句" 应为 "子句"
This commit is contained in:
Hans
2021-01-11 20:55:34 +08:00
committed by GitHub
parent 2408ee2066
commit 558814b61d

View File

@ -691,7 +691,7 @@ extension Container where Item: Equatable {
## 具有泛型 Where 子句的关联类型 {#associated-types-with-a-generic-where-clause}
你可以在关联类型后面加上具有泛型 `where`句。例如,建立一个包含迭代器(`Iterator`)的容器,就像是标准库中使用的 `Sequence` 协议那样。你应该这么写:
你可以在关联类型后面加上具有泛型 `where`句。例如,建立一个包含迭代器(`Iterator`)的容器,就像是标准库中使用的 `Sequence` 协议那样。你应该这么写:
```swift
protocol Container {