Skip to content

Commit 74cd4d5

Browse files
authored
Apply suggestions from code review
1 parent e7daf01 commit 74cd4d5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stdlib/public/Concurrency/Task+init.swift.gyb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ import Swift
5454
% ],
5555
% [ # PARAMS
5656
% 'name: String? = nil',
57-
% 'executorPreference taskExecutor: (any TaskExecutor)? = nil',
57+
% 'executorPreference taskExecutor: (any TaskExecutor)?',
5858
% 'priority: TaskPriority? = nil',
59-
% # '@_inheritActorContext @_implicitSelfCapture operation: sending @escaping @isolated(any) () async throws -> Success',
6059
% 'operation: sending @escaping () async throws -> Success',
6160
% ]),
6261
% # ==== --------------------------------------------------------------------
@@ -70,7 +69,7 @@ import Swift
7069
% ],
7170
% [ # PARAMS
7271
% 'name: String? = nil',
73-
% 'executorPreference taskExecutor: (any TaskExecutor)? = nil',
72+
% 'executorPreference taskExecutor: (any TaskExecutor)?',
7473
% 'priority: TaskPriority? = nil',
7574
% 'operation: sending @escaping () async throws -> Success',
7675
% ]),

0 commit comments

Comments
 (0)