Skip to content

Commit e7b0fd5

Browse files
committed
Fix a typo in SE-0430.
When updating the original proposal, I fixed cases where we had written sending consuming -> consuming sending and sending borrowing -> borrowing sending... but I missed a case where we wrote sending inout instead of inout sending. This just fixes the typo.
1 parent 626048e commit e7b0fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0430-transferring-parameters-and-results.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,12 @@ struct Y2: P1 {
370370
}
371371
```
372372

373-
### `sending inout` parameters
373+
### `inout sending` parameters
374374

375375
A `sending` parameter can also be marked as `inout`, meaning that the argument
376376
value must be in a disconnected region when passed to the function, and the
377377
parameter value must be in a disconnected region when the function
378-
returns. Inside the function, the `sending inout` parameter can be merged with
378+
returns. Inside the function, the `inout sending` parameter can be merged with
379379
actor-isolated callees or further sent as long as the parameter is
380380
re-assigned a value in a disconnected region upon function exit.
381381

0 commit comments

Comments
 (0)