Skip to content

Commit 92ec0a4

Browse files
authored
Fix typo in use of task.return (#551)
If I understand correctly, `task.return` for a string should take two parameters and return no values.
1 parent f22dc1f commit 92ec0a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

design/mvp/Async.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ There is no core function result because a callee [returns](#returning) their
784784
value by *calling* the *imported* `task.return` function which has signature:
785785
```wat
786786
;; task.return
787-
(func (param $ret-ptr i32) (result $ret-len i32))
787+
(func (param $ret-ptr i32) (param $ret-len i32))
788788
```
789789

790790
The parameters of `task.return` work the same as if the WIT return type was the

0 commit comments

Comments
 (0)