mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-omit-needless-words
This commit is contained in:
@@ -101,14 +101,14 @@ class EOFCountingIterator<T> : IteratorProtocol {
|
||||
|
||||
func next() -> T? {
|
||||
if index == array.count {
|
||||
++numTimesReturnedEOF
|
||||
numTimesReturnedEOF += 1
|
||||
return .None
|
||||
}
|
||||
return array[index++]
|
||||
}
|
||||
}
|
||||
|
||||
func checkDecodeUTF<Codec : UnicodeCodecType>(
|
||||
func checkDecodeUTF<Codec : UnicodeCodec>(
|
||||
codec: Codec.Type, _ expectedHead: [UInt32],
|
||||
_ expectedRepairedTail: [UInt32], _ utfStr: [Codec.CodeUnit]
|
||||
) -> AssertionResult {
|
||||
|
||||
Reference in New Issue
Block a user