Skip to content

Commit ca995d7

Browse files
authored
Fix typos in the Data Race Safety section (#121)
* Fix spelling of "access" * Add missing "of"
1 parent 6620df5 commit ca995d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Guide.docc/DataRaceSafety.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ func populate(island: Island, with chicken: sending Chicken) async {
493493
```
494494

495495
The compiler can now provide the guarantee that at all call sites, the
496-
`chicken` parameter will never be subject to unsafe acceses.
497-
This is a relaxing an otherwise significant constraint.
496+
`chicken` parameter will never be subject to unsafe access.
497+
This is a relaxing of an otherwise significant constraint.
498498
Without `sending`, this function would only be possible to implement by
499499
requiring that `Chicken` first conform to `Sendable`.
500500

0 commit comments

Comments
 (0)