mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user