stdlib: protocol extensions: de-underscore startsWith()

Swift SVN r28233
This commit is contained in:
Dmitri Hrybenko
2015-05-07 00:30:21 +00:00
parent 62aa1f0e7c
commit e43ad56a1c
4 changed files with 15 additions and 47 deletions

View File

@@ -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 ""}