File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ Now lets apply these rules to some specific examples in Swift code:
275
275
let closure = { useInOut (& x) }
276
276
// Regions: [(x, closure)]
277
277
let y = NonSendable ()
278
- // Regions: [(x, closure), y ]
278
+ // Regions: [(x, closure), (y) ]
279
279
x = y
280
280
// Regions: [(x, closure, y)]
281
281
}
@@ -306,7 +306,7 @@ Now lets apply these rules to some specific examples in Swift code:
306
306
let x = NonSendableStruct ()
307
307
// Regions: [(x)]
308
308
let y = NonSendable ()
309
- // Regions: [x, y ]
309
+ // Regions: [(x), (y) ]
310
310
x.field = y
311
311
// Regions: [(x, y)]
312
312
}
@@ -337,7 +337,7 @@ Now lets apply these rules to some specific examples in Swift code:
337
337
func transfer (x : NonSendable, y : NonSendable) {
338
338
// Regions: [(x, y)]
339
339
let z = NonSendable ()
340
- // Regions: [(x, y), z ]
340
+ // Regions: [(x, y), (z) ]
341
341
f (x, z)
342
342
// Regions: [(x, y, z)]
343
343
}
You can’t perform that action at this time.
0 commit comments