修改病句,“一个段字符串”改为“一段字符串” (#1182)

This commit is contained in:
BeautifulSoft
2022-03-23 20:12:21 +08:00
committed by GitHub
parent 5851c6fb8a
commit 60744b4033

View File

@ -416,7 +416,7 @@ for index in greeting.indices {
### 插入和删除 {#inserting-and-removing}
调用 `insert(_:at:)` 方法可以在一个字符串的指定索引插入一个字符,调用 `insert(contentsOf:at:)` 方法可以在一个字符串的指定索引插入一段字符串。
调用 `insert(_:at:)` 方法可以在一个字符串的指定索引插入一个字符,调用 `insert(contentsOf:at:)` 方法可以在一个字符串的指定索引插入一段字符串。
```swift
var welcome = "hello"