Skip to content

Implement DerefMut for the owned Id #5

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
SSheldon opened this issue Aug 21, 2014 · 0 comments
Closed

Implement DerefMut for the owned Id #5

SSheldon opened this issue Aug 21, 2014 · 0 comments

Comments

@SSheldon
Copy link
Owner

The owned Id struct should implement DerefMut so that its object can be mutated. However, when DerefMut is implemented, dereferencing to &mut is always chosen over &, which breaks many uses of Id, so this should wait for rust-lang/rust#12825.

madsmtm pushed a commit to madsmtm/rust-objc that referenced this issue Oct 1, 2021
madsmtm pushed a commit to madsmtm/rust-objc that referenced this issue Oct 1, 2021
madsmtm added a commit to madsmtm/rust-objc that referenced this issue Oct 1, 2021
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

No branches or pull requests

1 participant