Open BiagioFesta opened 3 weeks ago
CI is failing, but I don't think it is related with the changes:
Resolving github.com (github.com)... 140.82.116.4
Connecting to github.com (github.com)|140.82.116.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-12 15:30:35 ERROR 404: Not Found
Currently, the future body generated is something like:
both approaches fail to compile as:
.map
does not exist forslice
type (it is not anOption
).clone()
does not really give ownership of the data slice, asclone
only copies the wide-pointer.static
lifetime (and that's the reason why the code in the generator performs aclone
orto_owned
in the first place).This PR aims to handle the case of slice argument