mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merging in latest master
This commit is contained in:
@@ -116,7 +116,8 @@ class CodecTest<Codec : TestableUnicodeCodec> {
|
||||
let nsEncoded = nsEncodeBuffer[0..<(used/sizeof(CodeUnit.self))]
|
||||
var encodeIndex = encodeBuffer.startIndex
|
||||
let encodeOutput: (CodeUnit) -> Void = {
|
||||
self.encodeBuffer[encodeIndex++] = $0
|
||||
self.encodeBuffer[encodeIndex] = $0
|
||||
encodeIndex += 1
|
||||
}
|
||||
|
||||
var iter = nsEncoded.makeIterator()
|
||||
|
||||
Reference in New Issue
Block a user