-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Implement AsMut for Vec #28663
Implement AsMut for Vec #28663
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
I don't foresee any problems with this trait impl. Vec already implements AsRef, so it should impl AsMut. Not handling Box since Box is missing both AsRef and AsMut. I thought we had a problem implementing them already, but I can't find any trace of it? |
We currently don't implement this for Some discussion of this is happening on #27197 as well. |
Updated with |
Thanks! |
What about implementing |
Certainly a possibility to consider! |
Implement AsMut for Vec Fixes #28549
Implement AsMut for Vec
Fixes #28549