summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2014-08-26 15:25:49 -0500
committerLevi Bostian <levi.bostian@gmail.com>2014-08-26 15:25:49 -0500
commit3549a6a8ab88b7c0f7043ed638e0f03c159bb321 (patch)
treec5dab33ae291dd40cb5efb2a74804559694271e5
parent3b121aa0ea63323df883ba6bbc473852a36b0015 (diff)
parent54bd312f8de72d4ca109fb12351b44203a482d23 (diff)
Merge pull request #736 from acdx/patch-1
Use preferred shorthand syntax for dictionary type
-rw-r--r--swift.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift.html.markdown b/swift.html.markdown
index a47b085a..a0ea8519 100644
--- a/swift.html.markdown
+++ b/swift.html.markdown
@@ -39,7 +39,7 @@ var occupations = [
"kaylee": "Mechanic"
]
occupations["Jayne"] = "Public Relations"
-let emptyDictionary = Dictionary<String, Float>()
+let emptyDictionary = [String: Float]()
//