Skip to content

Commit d04a0df

Browse files
authored
Merge pull request swiftlang#171 from karwa/fixfixit
[Diagnostics QOI]: Fix the fix-it for dispatch_apply
2 parents 8803d07 + b5e37c8 commit d04a0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/swift/Private.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public func dispatch_io_set_interval(_ channel: DispatchIO, _ interval: UInt64,
140140
fatalError()
141141
}
142142

143-
@available(*, unavailable, renamed:"DispatchQueue.apply(attributes:iterations:execute:)")
143+
@available(*, unavailable, renamed:"DispatchQueue.concurrentPerform(iterations:execute:)")
144144
public func dispatch_apply(_ iterations: Int, _ queue: DispatchQueue, _ block: (Int) -> Void)
145145
{
146146
fatalError()

0 commit comments

Comments
 (0)