mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: move the bulk of SequenceType algorithms to protocol extensions
rdar://19895265 Swift SVN r27269
This commit is contained in:
@@ -2168,7 +2168,9 @@ class NonContiguousNSString : NSString {
|
||||
|
||||
func checkUTF8View(expected: [UInt8], subject: String,
|
||||
stackTrace: SourceLocStack) {
|
||||
checkCollection(expected, subject.utf8, stackTrace.withCurrentLoc())
|
||||
checkForwardCollection(
|
||||
expected, subject.utf8,
|
||||
stackTrace.withCurrentLoc())
|
||||
}
|
||||
|
||||
func checkUTF16View(expected: [UInt16], subject: String,
|
||||
|
||||
Reference in New Issue
Block a user