-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.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.
Description
Conversions for Rc<str>, Arc<str>, Rc<[T]>, and Arc<[T]> were added in #42565, but it is still not possible to make a shared container for other string-like types - you still need to use double allocated containers like Rc<PathBuf>. It looks like the only types this is missing for are Path, OsStr, and CStr.
Metadata
Metadata
Assignees
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.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.