Skip to content

No shared conversions for other string-like types (Path, OsStr, CStr) #45008

Closed
@parkovski

Description

@parkovski

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

No one assigned

    Labels

    C-feature-acceptedCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions