Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: example change to verify the parameterless function fix #10

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

hanabi1224
Copy link
Contributor

Currently, a parameterless function with return type in the rust trait fn demo_get_n() -> i32; does not compile, this PR tries make a fix.

error: expected expression, found `,`

@ihciah
Copy link
Owner

ihciah commented Aug 23, 2024

Thank you for the fix! Could you only keep the fix itself? If it is needed to add more functions for the demo services, it is welcomed to add in another PR.

@hanabi1224 hanabi1224 changed the title fix: parameterless function does not compile with r2g fix: example change to verify the parameterless function fix Aug 26, 2024
@hanabi1224
Copy link
Contributor Author

Thank you for the fix! Could you only keep the fix itself? If it is needed to add more functions for the demo services, it is welcomed to add in another PR.

@ihciah I've re-purposed this PR and moved the fix itself to #11
Please let me know if there's anything else

@ihciah ihciah merged commit d99eb83 into ihciah:master Oct 8, 2024
2 checks passed
@hanabi1224 hanabi1224 deleted the fix-parameterless-fn branch October 8, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants