Skip to content

Commit 495a54c

Browse files
typos in 0417-task-executor-preference.md (#2457)
1 parent 7637254 commit 495a54c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0417-task-executor-preference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Task(executorPreference: executor) {
158158
```
159159

160160
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.
162162

163163
## Detailed design
164164

@@ -273,7 +273,7 @@ Task(executorPreference: specialExecutor) {
273273
return 12
274274
}
275275
group.addTask(executorPreference: differentExecutor) {
276-
// using 'globalConcurrentExecutor', overriden preference
276+
// using 'differentExecutor', overriden preference
277277
return 42
278278
}
279279
group.addTask(executorPreference: nil) {

0 commit comments

Comments
 (0)