Create Rc
/Arc
directly from mut slice
#128885
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Right now, we have
and their
Arc
counterparts.Even though a mut slice can be coerced into a non-mut one, I think it would be useful to have versions that can directly take
&mut _
.For example, to be able to do something like:
The text was updated successfully, but these errors were encountered: