mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: fix coding style
Swift SVN r32425
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user