Uh oh!
There was an error while loading. Please reload this page.
Implement AsMut for Vec - #28663
Conversation
rust-highfive
commented
Sep 25, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
bluss
commented
Sep 25, 2015
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? |
alexcrichton
commented
Sep 25, 2015
alexcrichton
commented
Sep 25, 2015
We currently don't implement this for Some discussion of this is happening on #27197 as well. |
bluss
commented
Sep 25, 2015
Updated with |
alexcrichton
commented
Sep 25, 2015
bluss
commented
Sep 25, 2015
Thanks! |
bluss
commented
Sep 25, 2015
What about implementing |
alexcrichton
commented
Sep 25, 2015
Certainly a possibility to consider! |
Implement AsMut for Vec Fixes#28549
Implement AsMut for Vec
Fixes#28549