stdlib: fix coding style

When colon specifies is-a relationship between types, we put spaces on
both sides of the colon.

Swift SVN r27016
This commit is contained in:
Dmitri Hrybenko
2015-04-05 05:54:55 +00:00
parent 4c4d1b3fb4
commit ff2dd6320a
58 changed files with 177 additions and 179 deletions

View File

@@ -91,7 +91,7 @@ func nsEncode<CodeUnit>(
// A SinkType that stores the elements written into an Array that can be
// inspected later.
class ArraySink<T: IntegerLiteralConvertible> : SinkType {
class ArraySink<T : IntegerLiteralConvertible> : SinkType {
init(capacity: Int) {
storage = Array(count: capacity, repeatedValue: 0)
}