We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to use the t macro with matches and a mutable world like
t!(|mut world, matches, _step| { world.value = 5; }),
I get an exception
cannot borrow world as mutable, as it is not declared as mutable
cannot borrow
as mutable, as it is not declared as mutable
It seems that the generated code lacks the mut keyword.
The text was updated successfully, but these errors were encountered:
Published as v0.7.3. Thanks for the contribution!
Sorry, something went wrong.
No branches or pull requests
When trying to use the t macro with matches and a mutable world like
t!(|mut world, matches, _step| { world.value = 5; }),
I get an exception
cannot borrow
worldas mutable, as it is not declared as mutable
It seems that the generated code lacks the mut keyword.
The text was updated successfully, but these errors were encountered: