appendContentsOf => appendContents(of:)

This commit is contained in:
Max Moiseev
2016-02-22 18:02:04 -08:00
parent 481bcabcba
commit 4b9eab6288
24 changed files with 131 additions and 90 deletions

View File

@@ -52,7 +52,7 @@ public func run_PopFrontArrayGeneric(N: Int) {
for _ in 1...20*N {
for _ in 1...reps {
var result = 0
a.appendContentsOf(orig)
a.appendContents(of: orig)
while a.count != 0 {
result += a[0]
_arrayReplace(&a._buffer, 0..<1, EmptyCollection())