Skip to content

Commit

Permalink
fix 117; remove isolated(any) reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 3, 2024
1 parent dcbcc0f commit 24e31ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Guide.docc/DataRaceSafety.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,6 @@ The closure's type here is defined by `Task.init`.
Despite that declaration not being isolated to any actor,
this newly-created task will _inherit_ the `MainActor` isolation of its
enclosing scope.

It is important to note that this form of isolation inheritance must be done
explicitly, using the `isolated(any)` annotation.
Function types offer a number of mechanisms for controlling their
isolation behavior, but by default they behave identically to other types.

Expand Down

0 comments on commit 24e31ff

Please sign in to comment.