Skip to content

Commit

Permalink
Fix type that cause compilation error on some Xcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkenso committed Aug 21, 2023
1 parent 74a2310 commit 9d0399d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import Foundation
@available(macOS 10.15, iOS 13, tvOS 13.0, watchOS 6.0, *)
extension Task {
public static func runWithCompletion<R>(
_: R.Type = R.Type,
_: R.Type = R.self,
_ body: @escaping () async throws -> R,
completion: @escaping (Result<R, Error>) -> Void
) where Success == Void, Failure == Never {
Expand Down

0 comments on commit 9d0399d

Please sign in to comment.