stdlib: fix coding style

Swift SVN r32425
This commit is contained in:
Dmitri Hrybenko
2015-10-03 21:13:15 +00:00
parent f7005d520f
commit 6536edd68c
37 changed files with 181 additions and 141 deletions

View File

@@ -107,7 +107,9 @@ class CodecTest<Codec : TestableUnicodeCodec> {
nsEncode(scalar.value, Codec.encodingId(), &nsEncodeBuffer, &used)
let nsEncoded = nsEncodeBuffer[0..<(used/sizeof(CodeUnit.self))]
var encodeIndex = encodeBuffer.startIndex
let encodeOutput: (CodeUnit) -> () = { self.encodeBuffer[encodeIndex++] = $0 }
let encodeOutput: (CodeUnit) -> Void = {
self.encodeBuffer[encodeIndex++] = $0
}
var g = nsEncoded.generate()
var decoded: UnicodeScalar