2.3 章节 字符串和字符(Strings and Characters)一处引号错误

This commit is contained in:
Will Lee
2014-06-13 16:07:41 +08:00
parent 081cd80163
commit 94806c4de9

View File

@ -288,7 +288,7 @@ println("There are \(act1SceneCount) scenes in Act 1")
相似地,您可以用`hasSuffix`方法来计算发生在不同地方的场景数:
```
var mansionCount = 0
var mansionCount = 0
var cellCount = 0
for scene in romeoAndJuliet {
if scene.hasSuffix("Capulet's mansion") {