Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-omit-needless-words

This commit is contained in:
Doug Gregor
2015-12-17 11:35:58 -08:00
499 changed files with 5428 additions and 5745 deletions

View File

@@ -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 {