Skip to content

Commit d219dad

Browse files
committed
gardening
1 parent 66ca28b commit d219dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/IdentifiableContinuationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ private extension Actor {
248248

249249
func identifiableContinuation<T: Sendable>(
250250
body: @Sendable (IdentifiableContinuation<T, Never>) -> Void,
251-
onCancel handler: @Sendable (IdentifiableContinuation<T, Never>.ID) -> Void = { _ in }
251+
onCancel handler: @Sendable (IdentifiableContinuation<T, Never>.ID) -> Void = { _ in }
252252
) async -> T {
253253
#if compiler(>=6.0)
254254
await withIdentifiableContinuation(body: body, onCancel: handler)
@@ -259,7 +259,7 @@ private extension Actor {
259259

260260
func throwingIdentifiableContinuation<T: Sendable>(
261261
body: @Sendable (IdentifiableContinuation<T, any Error>) -> Void,
262-
onCancel handler: @Sendable (IdentifiableContinuation<T, any Error>.ID) -> Void = { _ in }
262+
onCancel handler: @Sendable (IdentifiableContinuation<T, any Error>.ID) -> Void = { _ in }
263263
) async throws -> T {
264264
#if compiler(>=6.0)
265265
try await withIdentifiableThrowingContinuation(body: body, onCancel: handler)

0 commit comments

Comments
 (0)