Skip to content

Make rust_mut() API convenient by implicit as_mut #979

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

Closed

Conversation

LeonMatthesKDAB
Copy link
Collaborator

I just talked with Andy about this and he inspired me to take another crack at removing all the as_mut() calls.

So this is an idea of how to make this work.
However, it's very much non-standard and may be confusing, as it only drops the as_mut() requirement for rust_mut() and nothing else.

Maybe this is not worth it, but an idea we can play with.

@LeonMatthesKDAB
Copy link
Collaborator Author

Not really standard or expected, so let's leave this out for now.

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.

1 participant