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
@@ -741,7 +741,7 @@ extension String {
|
||||
/// Produces an initialized `NSString` object equivalent to the given
|
||||
/// `bytes` interpreted in the given `encoding`.
|
||||
public init? <
|
||||
S: SequenceType where S.Iterator.Element == UInt8
|
||||
S: Sequence where S.Iterator.Element == UInt8
|
||||
>(
|
||||
bytes: S, encoding: NSStringEncoding
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user