Merge pull request #18 from github/pr/17

Link to the Chinese version
This commit is contained in:
Justin Spahr-Summers 2014-11-13 08:46:04 -08:00
Родитель d781b3f179 7d3321dcf8
Коммит d2ce27081a
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -214,7 +214,6 @@ struct Composite<T> {
_Rationale:_ Omitting redundant type parameters clarifies the intent, and makes it obvious by contrast when the returned type takes different type parameters.
#### Use whitespace around operator definitions
Use whitespace around operators when defining them. Instead of:
@ -232,3 +231,7 @@ func <|< <A>(lhs: A, rhs: A) -> A
```
_Rationale:_ Operators consist of punctuation characters, which can make them difficult to read when immediately followed by the punctuation for a type or value parameter list. Adding whitespace separates the two more clearly.
#### Translations
* [中文版](https://github.com/Artwalk/swift-style-guide/blob/master/README_CN.md)