stdlib: Adjust to insert(contentsOf:at:) and append(contentsOf:)

instead of insertContents(of:at:) and appendContents(of:),
originally insertContentsOf(_:at:) and appendContentsOf(_:)
per internal discussion.
This commit is contained in:
Jordan Rose
2016-02-25 12:13:04 -08:00
parent 488b464f10
commit b319e3da32
24 changed files with 120 additions and 129 deletions

View File

@@ -396,7 +396,7 @@ extension Sequence {
) rethrows -> [S.${GElement}] {
var result: [S.${GElement}] = []
for element in self {
result.appendContents(of: try transform(element))
result.append(contentsOf: try transform(element))
}
return result
}