mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SequenceType => Sequence
This commit is contained in:
committed by
Max Moiseev
parent
c678a839dc
commit
844b81c46b
@@ -593,7 +593,7 @@ StringTests.test("COW/replaceRange/end") {
|
||||
}
|
||||
|
||||
func asciiString<
|
||||
S: SequenceType where S.Iterator.Element == Character
|
||||
S: Sequence where S.Iterator.Element == Character
|
||||
>(content: S) -> String {
|
||||
var s = String()
|
||||
s.appendContentsOf(content)
|
||||
|
||||
Reference in New Issue
Block a user