mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: protocol extensions: de-underscore startsWith()
Swift SVN r28233
This commit is contained in:
@@ -128,7 +128,7 @@ else:
|
||||
/// Return true if `other` is empty."""
|
||||
}%
|
||||
${comment}
|
||||
final public func _prext_startsWith<
|
||||
final public func startsWith<
|
||||
OtherSequence : SequenceType where OtherSequence.${GElement} == ${GElement}
|
||||
>(
|
||||
other: OtherSequence${"," if preds else ""}
|
||||
|
||||
Reference in New Issue
Block a user