This commit is contained in:
Robert Böhnke 2015-01-05 13:04:57 +01:00
Родитель 11e622646a
Коммит 6790fab2ca
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -134,9 +134,7 @@ func makeCoffee(type: CoffeeType) -> Coffee { ... }
_Rationale:_ The type specifier is saying something about the _identifier_ so _Rationale:_ The type specifier is saying something about the _identifier_ so
it should be positioned with it. it should be positioned with it.
#### When declaring a dictionary type, always associate the colon with the key Also, when specifying the type of a dictionary, always put the colon immediately
When specifying the type of a dictionary, always put the colon immediately
after the key type, followed by a space and then the value type. after the key type, followed by a space and then the value type.
```swift ```swift