summaryrefslogtreecommitdiffhomepage
path: root/swift.html.markdown
diff options
context:
space:
mode:
authorJanne R. <janne@raiskila.com>2014-08-26 20:48:35 +0300
committerJanne R. <janne@raiskila.com>2014-08-26 20:48:35 +0300
commit54bd312f8de72d4ca109fb12351b44203a482d23 (patch)
treec5dab33ae291dd40cb5efb2a74804559694271e5 /swift.html.markdown
parent3b121aa0ea63323df883ba6bbc473852a36b0015 (diff)
Use preferred shorthand syntax for dictionary type
Diffstat (limited to 'swift.html.markdown')
-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]()
//