Skip to content

Commit 6d94756

Browse files
authored
Merge pull request #6958 from NachoSoto/asynchronously-fixit
Fix the fixits for dispatch_async and dispatch_group_async
2 parents b71f2fd + a12e739 commit 6d94756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/SDK/Dispatch/Private.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public func dispatch_data_copy_region(_ data: __DispatchData, _ location: Int, _
108108
fatalError()
109109
}
110110

111-
@available(*, unavailable, renamed:"DispatchQueue.asynchronously(self:group:qos:flags:execute:)")
111+
@available(*, unavailable, renamed:"DispatchQueue.async(self:group:qos:flags:execute:)")
112112
public func dispatch_group_async(_ group: DispatchGroup, _ queue: DispatchQueue, _ block: () -> Void)
113113
{
114114
fatalError()
@@ -144,7 +144,7 @@ public func dispatch_apply(_ iterations: Int, _ queue: DispatchQueue, _ block: (
144144
fatalError()
145145
}
146146

147-
@available(*, unavailable, renamed:"DispatchQueue.asynchronously(self:execute:)")
147+
@available(*, unavailable, renamed:"DispatchQueue.async(self:execute:)")
148148
public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Void)
149149
{
150150
fatalError()

0 commit comments

Comments
 (0)