Skip to content

Conversation

ChallaHalla
Copy link
Contributor

In the quick start example from the doc, #[magnus::wrap(class = "HelloRusty::Greeter")] appears above impl Greeter instead of above struct Greeter. This was causing the provided code not to compile.

Placing the class wrapper over the definition of the Greeter struct fixes this.

@ianks
Copy link
Collaborator

ianks commented May 25, 2025

Thank you ❤️

@ianks ianks merged commit 53539e7 into oxidize-rb:main May 25, 2025
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