File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ Task(executorPreference: executor) {
158
158
```
159
159
160
160
In a way, one should think of the ` SerialExecutor ` of the actor and ` TaskExecutor ` both being tracked and providing different semantics.
161
- The ` SerialExecutor ` guarntees mutual exclusion, and the ` TaskExecutor ` provides a source of threads.
161
+ The ` SerialExecutor ` guarantees mutual exclusion, and the ` TaskExecutor ` provides a source of threads.
162
162
163
163
## Detailed design
164
164
@@ -273,7 +273,7 @@ Task(executorPreference: specialExecutor) {
273
273
return 12
274
274
}
275
275
group.addTask (executorPreference : differentExecutor) {
276
- // using 'globalConcurrentExecutor ', overriden preference
276
+ // using 'differentExecutor ', overriden preference
277
277
return 42
278
278
}
279
279
group.addTask (executorPreference : nil ) {
You can’t perform that action at this time.
0 commit comments