diff --git a/source/chapter2/04_Collection_Types.md b/source/chapter2/04_Collection_Types.md index 6a1be08e..c545d875 100644 --- a/source/chapter2/04_Collection_Types.md +++ b/source/chapter2/04_Collection_Types.md @@ -284,7 +284,7 @@ Swift 的字典使用`Dictionary`定义,其中`KeyType`是 // Airport code: TYO // Airport code: LHR - for airportName in airports。values { + for airportName in airports.values { prINTln("Airport name: \(airportName)") } // Airport name: Tokyo