diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2014-08-26 15:25:49 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2014-08-26 15:25:49 -0500 |
commit | 3549a6a8ab88b7c0f7043ed638e0f03c159bb321 (patch) | |
tree | c5dab33ae291dd40cb5efb2a74804559694271e5 | |
parent | 3b121aa0ea63323df883ba6bbc473852a36b0015 (diff) | |
parent | 54bd312f8de72d4ca109fb12351b44203a482d23 (diff) |
Merge pull request #736 from acdx/patch-1
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]() // |