diff options
author | Janne R. <janne@raiskila.com> | 2014-08-26 20:48:35 +0300 |
---|---|---|
committer | Janne R. <janne@raiskila.com> | 2014-08-26 20:48:35 +0300 |
commit | 54bd312f8de72d4ca109fb12351b44203a482d23 (patch) | |
tree | c5dab33ae291dd40cb5efb2a74804559694271e5 | |
parent | 3b121aa0ea63323df883ba6bbc473852a36b0015 (diff) |
Use preferred shorthand syntax for dictionary type
-rw-r--r-- | swift.html.markdown | 2 |
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]() // |