mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
typo
This commit is contained in:
parent
b3fa1d2dc2
commit
93e0439b7f
1 changed files with 1 additions and 1 deletions
|
@ -3630,7 +3630,7 @@ fn expose_function_to_host_help_c_abi_v2<'a, 'ctx, 'env>(
|
|||
// Drop the "return pointer" if it exists on the roc function
|
||||
// and the c function does not return via pointer
|
||||
(RocReturn::ByPointer, CCReturn::Return) => {
|
||||
// Roc current puts the return pointer at the end of the argument list.
|
||||
// Roc currently puts the return pointer at the end of the argument list.
|
||||
// As such, we drop the last element here instead of the first.
|
||||
(¶ms[..], ¶m_types[..param_types.len() - 1])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue