-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Create Rc/Arc directly from mut slice #128885
Copy link
Copy link
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Right now, we have
and their
Arccounterparts.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: