1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-19 13:02:14 +02:00

Merge pull request #736 from acdx/patch-1

Use preferred shorthand syntax for dictionary type
This commit is contained in:
Levi Bostian
2014-08-26 15:25:49 -05:00

View File

@@ -39,7 +39,7 @@ var occupations = [
"kaylee": "Mechanic"
]
occupations["Jayne"] = "Public Relations"
let emptyDictionary = Dictionary<String, Float>()
let emptyDictionary = [String: Float]()
//