-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Labels
B-RFC-approved
Blocker: Approved by a merged RFC but not yet implemented.
Comments
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
Tracking issue for rust-lang/rfcs#241
The text was updated successfully, but these errors were encountered: