Skip to content

Commit 939358e

Browse files
Update 0420-inheritance-of-actor-isolation.md (#2330)
* Update "5.11" to "6.0". * Fix "Sendbale" typo.
1 parent d3d4d9a commit 939358e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0420-inheritance-of-actor-isolation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ it can be passed an arbitrary function and work with arbitrary types.
116116
But if it's called from an *isolated* asynchronous function, Swift will
117117
treat the call as crossing an isolation barrier and enforce three restrictions:
118118

119-
- First, the result of the call must be `Sendbale`. This restriction prevents
119+
- First, the result of the call must be `Sendable`. This restriction prevents
120120
`next()` from being used from an actor to produce non-`Sendable` element
121121
values.
122122

@@ -250,7 +250,7 @@ extension DistributedActor {
250250
/// as only a local distributed actor can be isolated on and may be automatically
251251
/// erased to such `any Actor` when calling methods implicitly accepting the
252252
/// caller's actor isolation, e.g. by using the `#isolation` macro.
253-
@backDeployed(before: SwiftStdlib 5.11)
253+
@backDeployed(before: SwiftStdlib 6.0)
254254
public var asLocalActor: any Actor {
255255
}
256256
```

0 commit comments

Comments
 (0)