Skip to content

Commit 2b4ba84

Browse files
committed
[Diagnostics] Update educational note for AsyncCallerExecution feature to match @execution attribute split
1 parent f00d808 commit 2b4ba84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

userdocs/diagnostics/async-caller-execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ these functions.
77

88
This feature was proposed in [SE-0461](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md)
99

10-
* The `@execution(concurrent)` attribute specifies that a function must always
10+
* The `@concurrent` attribute specifies that a function must always
1111
switch off of an actor to run.
1212
This is the default behavior without `AsyncCallerExecution`.
13-
* The `@execution(caller)` attribute specifies that a function must always
13+
* The `nonisolated(nonsending)` modifier specifies that a function must always
1414
run on the caller's actor.
1515
This is the default behavior with `AsyncCallerExecution`.

0 commit comments

Comments
 (0)