mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user