File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,15 @@ struct Y2: P1 {
295
295
}
296
296
```
297
297
298
+ ### ` transferring inout ` parameters
299
+
300
+ A ` transferring ` parameter can also be marked as ` inout ` , meaning that the
301
+ argument value must be in a disconnected region when passed to the function,
302
+ and the parameter value must be in a disconnected region when the function
303
+ returns. Inside the function, the ` transferring inout ` parameter can be merged
304
+ with actor-isolated callees or further transferred as long as the parameter is
305
+ re-assigned a value in a disconnected region upon function exit.
306
+
298
307
### Ownership convention for ` transferring ` parameters
299
308
300
309
When a call passes an argument to a ` transferring ` parameter, the caller cannot
You can’t perform that action at this time.
0 commit comments