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

Tracking issue for deref coercions RFC #21432

Closed
nikomatsakis opened this issue Jan 20, 2015 · 0 comments · Fixed by #21351
Closed

Tracking issue for deref coercions RFC #21432

nikomatsakis opened this issue Jan 20, 2015 · 0 comments · Fixed by #21351
Labels
B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented.

Comments

@nikomatsakis
Copy link
Contributor

Tracking issue for rust-lang/rfcs#241

@nrc nrc added the B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. label Jan 20, 2015
bors added a commit that referenced this issue Jan 30, 2015
Coercions will now attempt to autoderef as needed before reborrowing.
This includes overloaded `Deref`, e.g. `&Rc<T>` coerces to `&T`, and
`DerefMut`, e.g. `&mut Vec<T>` coerces to `&mut [T]` (in addition to `&[T]`).
Closes #21432.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants