内容错误

terminator不应该有空格,否则每个单词之间会有两个空格,英文版也没有空格
This commit is contained in:
Realank
2016-01-14 15:39:25 +08:00
parent 781c484681
commit e863958b5b

View File

@ -351,7 +351,7 @@ greeting.endIndex.successor() // error
```swift ```swift
for index in greeting.characters.indices { for index in greeting.characters.indices {
print("\(greeting[index]) ", terminator: " ") print("\(greeting[index]) ", terminator: "")
} }
// 打印输出 "G u t e n T a g !" // 打印输出 "G u t e n T a g !"
``` ```